summaryrefslogtreecommitdiff
path: root/src/theory/booleans/circuit_propagator.cpp
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-08-16 16:46:05 -0700
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-16 18:46:05 -0500
commit7fc04bf78c6c20f3711d14425469eef2e0c2cd60 (patch)
treed9f2e91a52406edf66967faccad550631cd9e4a5 /src/theory/booleans/circuit_propagator.cpp
parent4e62cdade61514f268b96e78e2f82ad12dfcad07 (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.cpp6
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()) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback