mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 21:08:46 +00:00
fix #6956
This commit is contained in:
parent
37fe9cc764
commit
11ab583232
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue