3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +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

@ -50,7 +50,7 @@ namespace polysat {
/** The boolean variable associated to this constraint */
sat::bool_var m_bvar = sat::null_bool_var;
constraint(constraint_manager& m, ckind_t k): m_kind(k) {}
constraint(ckind_t k): m_kind(k) {}
bool has_bvar() const { return m_bvar != sat::null_bool_var; }