3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 02:42:02 +00:00
This commit is contained in:
Nikolaj Bjorner 2023-03-06 17:35:49 -08:00
parent 6c00d40513
commit 5c7506306b

View file

@ -180,8 +180,7 @@ namespace polysat {
if (m_bvars.is_false(lit)) { if (m_bvars.is_false(lit)) {
// Input literal contradicts current boolean state (e.g., opposite literals in the input) // Input literal contradicts current boolean state (e.g., opposite literals in the input)
// => conflict only flags the inconsistency // => conflict only flags the inconsistency
set_conflict_at_base_level(dep); set_conflict_at_base_level(dep, ~lit);
m_conflict.insert(~c); // ~c is true in the solver, need to track its original dependencies
return; return;
} }
m_bvars.assumption(lit, m_level, dep); m_bvars.assumption(lit, m_level, dep);