Skip to content

Commit 92c7e0c

Browse files
committed
fix error in twoxtwo preprocess
1 parent ccc23ba commit 92c7e0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CoinPresolveDupcol.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,14 +2739,14 @@ const CoinPresolveAction
27392739
}
27402740
}
27412741
}
2742-
// adjust offset
2743-
if (offset)
2744-
prob->change_bias(offset);
27452742
if (nactions) {
27462743
#if PRESOLVE_SUMMARY
27472744
printf("Cost offset %g - from %d blocks\n", offset, nactions);
27482745
printf("TWO by TWO blocks: %d - offset %g\n", nactions, offset);
27492746
#endif
2747+
// adjust offset
2748+
if (offset)
2749+
prob->change_bias(offset);
27502750
action *actions = new action[nactions];
27512751
memcpy(actions, boundRecords, nactions * sizeof(action));
27522752
next = new twoxtwo_action(nactions, actions, next);

0 commit comments

Comments
 (0)