Skip to content

Commit 87810c6

Browse files
fix bug introduced while absstracting m_conflict_index
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 14c672f commit 87810c6

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
@@ -496,7 +496,7 @@ namespace lp {
496496

497497
unsigned m_conflict_index = UINT_MAX; // the row index of the conflict
498498
void reset_conflict() { m_conflict_index = UINT_MAX; }
499-
bool has_conflict() const { return m_conflict_index == UINT_MAX; }
499+
bool has_conflict() const { return m_conflict_index != UINT_MAX; }
500500
void set_rewrite_conflict(unsigned idx) { SASSERT(idx != UINT_MAX); m_conflict_index = idx; lra.stats().m_dio_rewrite_conflicts++; }
501501
unsigned m_max_of_branching_iterations = 0;
502502
unsigned m_number_of_branching_calls;

0 commit comments

Comments
 (0)