mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 12:11:23 +00:00
weird latent bug in wmax: init() succeeds and it returns undef
This commit is contained in:
parent
fdd5c923ed
commit
d8156aeff3
2 changed files with 3 additions and 2 deletions
|
@ -53,7 +53,7 @@ namespace opt {
|
|||
TRACE("opt", tout << "weighted maxsat\n";);
|
||||
scoped_ensure_theory wth(*this);
|
||||
reset();
|
||||
if (init())
|
||||
if (!init())
|
||||
return l_undef;
|
||||
|
||||
lbool is_sat = l_true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue