diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2018-08-16 16:46:05 -0700 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-08-16 18:46:05 -0500 |
commit | 7fc04bf78c6c20f3711d14425469eef2e0c2cd60 (patch) | |
tree | d9f2e91a52406edf66967faccad550631cd9e4a5 /src/theory/booleans/circuit_propagator.cpp | |
parent | 4e62cdade61514f268b96e78e2f82ad12dfcad07 (diff) |
Move node algorithms to separate file (#2311)
Diffstat (limited to 'src/theory/booleans/circuit_propagator.cpp')
-rw-r--r-- | src/theory/booleans/circuit_propagator.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/booleans/circuit_propagator.cpp b/src/theory/booleans/circuit_propagator.cpp index aa87b65ba..d04b71ee1 100644 --- a/src/theory/booleans/circuit_propagator.cpp +++ b/src/theory/booleans/circuit_propagator.cpp @@ -15,12 +15,14 @@ **/ #include "theory/booleans/circuit_propagator.h" -#include "util/utility.h" #include <stack> #include <vector> #include <algorithm> +#include "expr/node_algorithm.h" +#include "util/utility.h" + using namespace std; namespace CVC4 { @@ -208,7 +210,7 @@ void CircuitPropagator::propagateForward(TNode child, bool childAssignment) { for(; parent_it != parent_it_end && !d_conflict; ++ parent_it) { // The current parent of the child TNode parent = *parent_it; - Assert(parent.hasSubterm(child)); + Assert(expr::hasSubterm(parent, child)); // Forward rules switch(parent.getKind()) { |