Skip to content

Commit e532308

Browse files
committed
sort terms by weight for tightening
1 parent ae30e2c commit e532308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/lp/dioph_eq.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ namespace lp {
14081408
sorted_changed_terms.push_back(j);
14091409
}
14101410

1411-
bool sort_by_weight = false;
1411+
bool sort_by_weight = true;
14121412
if (sort_by_weight)
14131413
// Sort by term_weight descending
14141414
std::sort(sorted_changed_terms.begin(), sorted_changed_terms.end(),

0 commit comments

Comments
 (0)