mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
ensure m_true is assigned #5753
This commit is contained in:
parent
dbd5512d8c
commit
e5eaea46aa
|
@ -371,6 +371,7 @@ namespace bv {
|
||||||
if (m_true == sat::null_literal) {
|
if (m_true == sat::null_literal) {
|
||||||
ctx.push(value_trail<sat::literal>(m_true));
|
ctx.push(value_trail<sat::literal>(m_true));
|
||||||
m_true = ctx.internalize(m.mk_true(), false, true, false);
|
m_true = ctx.internalize(m.mk_true(), false, true, false);
|
||||||
|
s().assign_unit(m_true);
|
||||||
}
|
}
|
||||||
return m_true;
|
return m_true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue