3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-14 21:08:46 +00:00
This commit is contained in:
Nikolaj Bjorner 2023-10-19 10:34:31 -07:00
parent 37fe9cc764
commit 11ab583232

View file

@ -274,6 +274,12 @@ namespace smt {
expr_ref_vector& conseq,
expr_ref_vector& unfixed) {
for (expr* a : assumptions0)
if (!m.is_bool(a)) {
std::string msg = std::string("assumption ") + mk_pp(a, m) + std::string(" is not Boolean");
warning_msg(msg.c_str());
throw default_exception(msg.c_str());
}
m_antecedents.reset();
m_antecedents.insert(true_literal.var(), index_set());
pop_to_base_lvl();