mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
fix bug in handling of repeated soft constraints. #815
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0765eea486
commit
2307a7ffa7
5 changed files with 40 additions and 4 deletions
|
@ -805,8 +805,9 @@ public:
|
|||
lbool init_local() {
|
||||
m_lower.reset();
|
||||
m_trail.reset();
|
||||
lbool is_sat = l_true;
|
||||
obj_map<expr, rational> new_soft;
|
||||
lbool is_sat = find_mutexes(new_soft);
|
||||
is_sat = find_mutexes(new_soft);
|
||||
if (is_sat != l_true) {
|
||||
return is_sat;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue