mirror of
https://github.com/Z3Prover/z3
synced 2025-06-23 14:23:40 +00:00
fix bug introduced in is_valid()
This commit is contained in:
parent
ae57475483
commit
3302ab9dc5
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ namespace polysat {
|
||||||
bool conflict::is_valid() const {
|
bool conflict::is_valid() const {
|
||||||
SASSERT(!empty());
|
SASSERT(!empty());
|
||||||
// If m_dep is set, the corresponding constraint was asserted at m_level and is not valid earlier.
|
// If m_dep is set, the corresponding constraint was asserted at m_level and is not valid earlier.
|
||||||
if (!m_dep.is_null() && m_level >= s.m_level)
|
if (!m_dep.is_null() && m_level > s.m_level)
|
||||||
return false;
|
return false;
|
||||||
// All conflict constraints must be bool-assigned.
|
// All conflict constraints must be bool-assigned.
|
||||||
for (unsigned lit_idx : m_literals)
|
for (unsigned lit_idx : m_literals)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue