mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
patch bounds normalization bug found by dvitek
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e3a854743b
commit
8a63ae0cdf
2 changed files with 34 additions and 3 deletions
|
@ -768,7 +768,7 @@ namespace opt {
|
|||
m_upper += m_weights[i];
|
||||
}
|
||||
}
|
||||
IF_VERBOSE(1, verbose_stream() << "(wmaxsat.pb with upper bound: " << m_upper << " )\n";);
|
||||
IF_VERBOSE(1, verbose_stream() << "(wmaxsat.pb with upper bound: " << m_upper << ")\n";);
|
||||
fml = m.mk_not(u.mk_ge(nsoft.size(), m_weights.c_ptr(), nsoft.c_ptr(), m_upper));
|
||||
s.assert_expr(fml);
|
||||
was_sat = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue