3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 02:15:19 +00:00

use bail_out instead of early return to ensure marks are cleared

This commit is contained in:
Nikolaj Bjorner 2024-12-22 06:14:38 +01:00
parent 78ce6c1c6c
commit 65b678dd42

View file

@ -712,7 +712,7 @@ namespace pb {
auto cindex = js.get_ext_justification_idx();
auto* ext = sat::constraint_base::to_extension(cindex);
if (ext != this)
return l_undef;
goto bail_out;
constraint& cnstr = index2constraint(cindex);
++m_stats.m_num_resolves;