mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +00:00
fix tests
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
81e5589bc8
commit
792bf6c10b
8 changed files with 81 additions and 74 deletions
|
@ -114,9 +114,7 @@ namespace opt {
|
|||
}
|
||||
|
||||
void update_assignment() {
|
||||
for (unsigned i = 0; i < m_soft.size(); ++i) {
|
||||
m_assignment[i] = is_true(m_soft[i]);
|
||||
}
|
||||
for (soft& s : m_soft) s.is_true = is_true(s.s);
|
||||
}
|
||||
|
||||
bool is_true(expr* e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue