mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 20:46:01 +00:00
remove arith_lhs simplification from preamble tactic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
33f4e65fa9
commit
94cc4ead72
2 changed files with 26 additions and 32 deletions
|
@ -80,7 +80,7 @@ namespace q {
|
|||
unsigned num_patterns = q->get_num_patterns();
|
||||
for (unsigned i = 0; i < num_patterns; i++)
|
||||
ensure_ground_enodes(q->get_pattern(i));
|
||||
for (auto lit : c.m_lits) {
|
||||
for (auto const& lit : c.m_lits) {
|
||||
ensure_ground_enodes(lit.lhs);
|
||||
ensure_ground_enodes(lit.rhs);
|
||||
}
|
||||
|
@ -186,7 +186,7 @@ namespace q {
|
|||
|
||||
void ematch::init_watch(clause& c) {
|
||||
unsigned idx = c.index();
|
||||
for (auto lit : c.m_lits) {
|
||||
for (auto const& lit : c.m_lits) {
|
||||
if (!is_ground(lit.lhs))
|
||||
init_watch(lit.lhs, idx);
|
||||
if (!is_ground(lit.rhs))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue