3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

avoid infinite loop between is-nullable and mk-bool-app

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-06-28 10:26:05 -07:00
parent 4dc7089cc4
commit 9a642215eb
3 changed files with 8 additions and 8 deletions

View file

@ -1497,7 +1497,7 @@ lbool core::check(vector<lemma>& l_vec) {
m_tangents.tangent_lemma();
}
if (l_vec.empty() && !done() && m_nla_settings.run_nra()) {
if (!done() && m_nla_settings.run_nra()) {
ret = m_nra.check();
m_stats.m_nra_calls ++;
}

View file

@ -73,6 +73,8 @@ struct solver::imp {
}
// TBD: add variable bounds?
m_nlsat->display(std::cout);
lbool r = l_undef;
try {
r = m_nlsat->check();