Skip to content

Commit

Permalink
...oops
Browse files Browse the repository at this point in the history
  • Loading branch information
afmagee committed Sep 14, 2023
1 parent 42976e5 commit d1d97c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public double[] getGradientLogDensity() {
double[] crossProducts = (double[]) treeTraitProvider.getTrait(tree, null);
double[] generator = new double[crossProducts.length];

if (substitutionModelCount > 0) {
if (substitutionModelCount > 1) {
// final int length = stateCount * stateCount;
// System.arraycopy(
// crossProducts, whichSubstitutionModel * length,
Expand Down

0 comments on commit d1d97c1

Please sign in to comment.