Skip to content

Commit d289495

Browse files
committed
allow gcd when dio ignores some terms
Signed-off-by: Lev Nachmanson <[email protected]>
1 parent 17af18f commit d289495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/lp/int_solver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ namespace lp {
223223

224224
lia_move r = lia_move::undef;
225225

226-
if (m_gcd.should_apply())
226+
if (m_gcd.should_apply() || (settings().dio() && m_dio.some_terms_are_ignored()))
227227
r = m_gcd();
228228

229229
check_return_helper pc(lra);

0 commit comments

Comments
 (0)