3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-12-15 08:48:58 +00:00

Less allocation during lookup, remove unused argument

This commit is contained in:
Jakob Rath 2022-12-22 15:09:18 +01:00
parent b5af2164f4
commit be20c0d54e
11 changed files with 45 additions and 25 deletions

View file

@ -15,8 +15,8 @@ Author:
namespace polysat {
umul_ovfl_constraint::umul_ovfl_constraint(constraint_manager& m, pdd const& p, pdd const& q):
constraint(m, ckind_t::umul_ovfl_t), m_p(p), m_q(q) {
umul_ovfl_constraint::umul_ovfl_constraint(pdd const& p, pdd const& q):
constraint(ckind_t::umul_ovfl_t), m_p(p), m_q(q) {
simplify();
m_vars.append(m_p.free_vars());
for (auto v : m_q.free_vars())