diff options
author | Clark Barrett <barrett@cs.nyu.edu> | 2010-07-07 21:55:11 +0000 |
---|---|---|
committer | Clark Barrett <barrett@cs.nyu.edu> | 2010-07-07 21:55:11 +0000 |
commit | 5b4b7727433f06c1788647b08e7da1ee1cc37bc9 (patch) | |
tree | 065c5cf1f4257bf6e406336f0c57367055ffddf9 /src/theory/arrays | |
parent | 97eb2d77fddb9c690cc2ebc2caff98d62467b671 (diff) |
Shared term manager tested and working
It is currently tracking all asserted equalities for simplicity.
Might want to check if this is a performance hit
Diffstat (limited to 'src/theory/arrays')
-rw-r--r-- | src/theory/arrays/theory_arrays.cpp | 4 | ||||
-rw-r--r-- | src/theory/arrays/theory_arrays.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp index b84b1e507..8b5f7d3e7 100644 --- a/src/theory/arrays/theory_arrays.cpp +++ b/src/theory/arrays/theory_arrays.cpp @@ -45,9 +45,9 @@ void TheoryArrays::addSharedTerm(TNode t) { } -void TheoryArrays::notifyEq(TNode eq) { +void TheoryArrays::notifyEq(TNode lhs, TNode rhs) { Debug("arrays") << "TheoryArrays::notifyEq(): " - << eq << endl; + << lhs << " = " << rhs << endl; } diff --git a/src/theory/arrays/theory_arrays.h b/src/theory/arrays/theory_arrays.h index 3cb050287..cb738d085 100644 --- a/src/theory/arrays/theory_arrays.h +++ b/src/theory/arrays/theory_arrays.h @@ -49,7 +49,7 @@ public: } void addSharedTerm(TNode t); - void notifyEq(TNode eq); + void notifyEq(TNode lhs, TNode rhs); void check(Effort e); void propagate(Effort e) { } void explain(TNode n, Effort e) { } |