3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-14 14:55:25 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-12-20 11:02:19 -08:00
parent dd05c683e0
commit 259a8ff786
2 changed files with 5 additions and 3 deletions

View file

@ -130,7 +130,9 @@ br_status hoist_rewriter::mk_or(unsigned num_args, expr * const * es, expr_ref &
}
fmls.push_back(p);
}
for (auto const& p : m_eqs) {
for (auto& p : m_eqs) {
if (m().is_value(p.first))
std::swap(p.first, p.second);
m_subst.insert(p.first, p.second);
fmls.push_back(m().mk_eq(p.first, p.second));
}