3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-02 13:26:10 +00:00

remove a few useless dynamic casts

This commit is contained in:
Nuno Lopes 2025-09-13 21:06:55 +01:00
parent f0c788581a
commit c350ddf990
8 changed files with 18 additions and 28 deletions

View file

@ -139,7 +139,7 @@ public:
if (m_mcs.back()) result->m_mcs.push_back(m_mcs.back()->translate(tr));
if (m_sat_mc) {
m_sat_mc->flush_smc(m_solver, m_map);
result->m_sat_mc = dynamic_cast<sat2goal::mc*>(m_sat_mc->translate(tr));
result->m_sat_mc = static_cast<sat2goal::mc*>(m_sat_mc->translate(tr));
}
result->m_has_uninterpreted = m_has_uninterpreted;
// copy m_bb_rewriter?