mirror of
https://github.com/Z3Prover/z3
synced 2025-08-09 04:31:24 +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
|
@ -124,10 +124,7 @@ namespace opt {
|
|||
}
|
||||
|
||||
void update_assignment() {
|
||||
m_assignment.reset();
|
||||
for (unsigned i = 0; i < m_soft.size(); ++i) {
|
||||
m_assignment.push_back(is_true(m_soft[i]));
|
||||
}
|
||||
for (soft& s : m_soft) s.is_true = is_true(s.s);
|
||||
}
|
||||
|
||||
struct compare_asm {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue