mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
build fix
This commit is contained in:
parent
a152bb1e80
commit
55cb12e233
2 changed files with 3 additions and 3 deletions
|
@ -315,7 +315,7 @@ public:
|
||||||
m_solver.set_phase(lit);
|
m_solver.set_phase(lit);
|
||||||
}
|
}
|
||||||
void move_to_front(expr* e) override {
|
void move_to_front(expr* e) override {
|
||||||
bool is_not = m.is_not(e, e);
|
m.is_not(e, e);
|
||||||
sat::bool_var b = m_map.to_bool_var(e);
|
sat::bool_var b = m_map.to_bool_var(e);
|
||||||
if (b != sat::null_bool_var)
|
if (b != sat::null_bool_var)
|
||||||
m_solver.move_to_front(b);
|
m_solver.move_to_front(b);
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace bv {
|
||||||
public:
|
public:
|
||||||
bit_trail(solver& s, var_pos vp) : s(s), vp(vp), lit(s.m_bits[vp.first][vp.second]) {}
|
bit_trail(solver& s, var_pos vp) : s(s), vp(vp), lit(s.m_bits[vp.first][vp.second]) {}
|
||||||
|
|
||||||
virtual void undo(euf::solver& euf) {
|
void undo() override {
|
||||||
s.m_bits[vp.first][vp.second] = lit;
|
s.m_bits[vp.first][vp.second] = lit;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -43,7 +43,7 @@ namespace bv {
|
||||||
public:
|
public:
|
||||||
bit_occs_trail(solver& s, atom& a): a(a), m_occs(a.m_occs) {}
|
bit_occs_trail(solver& s, atom& a): a(a), m_occs(a.m_occs) {}
|
||||||
|
|
||||||
virtual void undo() {
|
void undo() override {
|
||||||
a.m_occs = m_occs;
|
a.m_occs = m_occs;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue