3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

ensure m_true is assigned #5753

This commit is contained in:
Nikolaj Bjorner 2022-01-11 10:41:54 -08:00
parent dbd5512d8c
commit e5eaea46aa

View file

@ -371,6 +371,7 @@ namespace bv {
if (m_true == sat::null_literal) {
ctx.push(value_trail<sat::literal>(m_true));
m_true = ctx.internalize(m.mk_true(), false, true, false);
s().assign_unit(m_true);
}
return m_true;
}