3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 04:03:39 +00:00

only use setup_and_check if there is no user propagator set.

This commit is contained in:
Nikolaj Bjorner 2021-12-04 09:22:25 -08:00
parent 1618c970df
commit 68b072e7f1

View file

@ -200,7 +200,7 @@ public:
lbool r; lbool r;
try { try {
if (assumptions.empty()) if (assumptions.empty() && !m_user_ctx)
r = m_ctx->setup_and_check(); r = m_ctx->setup_and_check();
else else
r = m_ctx->check(assumptions.size(), assumptions.data()); r = m_ctx->check(assumptions.size(), assumptions.data());