summaryrefslogtreecommitdiff
path: root/src/theory/arith/equality_solver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/equality_solver.cpp')
-rw-r--r--src/theory/arith/equality_solver.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/arith/equality_solver.cpp b/src/theory/arith/equality_solver.cpp
index 58793c654..8b4e1b8dd 100644
--- a/src/theory/arith/equality_solver.cpp
+++ b/src/theory/arith/equality_solver.cpp
@@ -80,6 +80,11 @@ TrustNode EqualitySolver::explain(TNode lit)
}
bool EqualitySolver::propagateLit(Node lit)
{
+ // if we've already propagated, ignore
+ if (d_aim.hasPropagated(lit))
+ {
+ return true;
+ }
// notice this is only used when ee-mode=distributed
// remember that this was a literal we propagated
Trace("arith-eq-solver-debug") << "propagate lit " << lit << std::endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback