3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-02 17:30:23 +00:00

weird latent bug in wmax: init() succeeds and it returns undef

This commit is contained in:
Nikolaj Bjorner 2023-04-24 21:14:42 -07:00
parent fdd5c923ed
commit d8156aeff3
2 changed files with 3 additions and 2 deletions

View file

@ -213,7 +213,8 @@ namespace opt {
try {
is_sat = (*m_msolver)();
}
catch (z3_exception&) {
catch (z3_exception& ex) {
IF_VERBOSE(1, verbose_stream() << ex.msg() << "\n");
is_sat = l_undef;
}
if (is_sat != l_false) {