summaryrefslogtreecommitdiff
path: root/src/theory/uf/theory_uf.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2011-07-09 05:40:21 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2011-07-09 05:40:21 +0000
commitcfd85e45da5400e3d5bd48a6f33bd5cfbf20798f (patch)
tree00004d45e00c1132ab95debc9e66a849bacae519 /src/theory/uf/theory_uf.h
parentdd7011ca35bf5a6bdfcbbdb3cd4657c8828fefae (diff)
some immediate bug fixes
Diffstat (limited to 'src/theory/uf/theory_uf.h')
-rw-r--r--src/theory/uf/theory_uf.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/theory/uf/theory_uf.h b/src/theory/uf/theory_uf.h
index c77d5a810..eaab96f27 100644
--- a/src/theory/uf/theory_uf.h
+++ b/src/theory/uf/theory_uf.h
@@ -44,10 +44,10 @@ public:
public:
NotifyClass(TheoryUF& uf): d_uf(uf) {}
- bool notifyEquality(TNode eq) {
- Debug("uf") << "NotifyClass::notifyEquality(" << eq << ")" << std::endl;
+ bool notifyEquality(TNode reason) {
+ Debug("uf") << "NotifyClass::notifyEquality(" << reason << ")" << std::endl;
// Just forward to uf
- return d_uf.propagate(eq, true);
+ return d_uf.propagate(reason);
}
};
@@ -69,10 +69,9 @@ private:
Node d_conflictNode;
/**
- * Should be called to propagate the atom. If isTrue is true, the atom should be propagated,
- * otherwise the negated atom should be propagated.
+ * Should be called to propagate the literal.
*/
- bool propagate(TNode atom, bool isTrue);
+ bool propagate(TNode literal);
/**
* Explain why this literal is true by adding assumptions
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback