summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-07-27 20:55:10 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-07-27 20:55:10 +0000
commit01bd928fa45459114ae4f5effcc8fbcf91bef7e8 (patch)
treed29748d3b830c807cc6577e60742045490735df1 /src/theory/theory_engine.cpp
parent2564d8730f768a8305325d4b6cc08211d8a3281d (diff)
Moving EQ->IFF handling from TheoryEngine to parser/type checker
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index bf501ec37..8db81902d 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -165,7 +165,7 @@ Theory* TheoryEngine::theoryOf(TNode n) {
return theoryOf(n.getType());
} else if(k == kind::EQUAL) {
// equality is special: use LHS
- return theoryOf(n[0].getType());
+ return theoryOf(n[0]);
} else {
// use our Kind-to-Theory mapping
return d_theoryOfTable[k];
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback