Skip to content

Commit

Permalink
use bail_out instead of early return to ensure marks are cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Dec 22, 2024
1 parent 78ce6c1 commit 65b678d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sat/smt/pb_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 65b678d

Please sign in to comment.