Skip to content

Commit

Permalink
try #4
Browse files Browse the repository at this point in the history
  • Loading branch information
msuchard committed Jan 6, 2025
1 parent bd69d87 commit bf5031b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dr/app/beagle/tools/Partition.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ private void traverse(NodeRef node, //
if (doSomethingStupid) {
double[] prob = probabilities[category[i]];
for (int k = 0; k < stateCount; ++k) {
for (int j = i + 1; j < stateCount; ++j) {
for (int j = k + 1; j < stateCount; ++j) {
double p = prob[k * stateCount + j];
prob[k * stateCount + j] = prob[j * stateCount + k];
prob[j * stateCount + k] = p;
Expand Down

0 comments on commit bf5031b

Please sign in to comment.