Skip to content

Commit aa3749f

Browse files
fix #4231
1 parent eda2eb5 commit aa3749f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/smt/smt_context.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3646,7 +3646,10 @@ namespace smt {
36463646
if (status == l_true && m_qmanager->has_quantifiers()) {
36473647
// possible outcomes DONE l_true, DONE l_undef, CONTINUE
36483648
mk_proto_model();
3649-
quantifier_manager::check_model_result cmr = m_qmanager->check_model(m_proto_model.get(), m_model_generator->get_root2value());
3649+
quantifier_manager::check_model_result cmr = quantifier_manager::UNKNOWN;
3650+
if (m_proto_model.get()) {
3651+
cmr = m_qmanager->check_model(m_proto_model.get(), m_model_generator->get_root2value());
3652+
}
36503653
switch (cmr) {
36513654
case quantifier_manager::SAT:
36523655
return false;

0 commit comments

Comments
 (0)