diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2014-12-03 11:38:36 -0500 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2014-12-03 11:39:07 -0500 |
commit | 160134dc043c28308865d2b91648ba412d0749d4 (patch) | |
tree | ba6977484e7368d6ccdf00273443c101c348746b /src/theory/theory_engine.cpp | |
parent | f70804a7159390fcb01d8c1ec208fbfd8e544fba (diff) |
Revert "Disable constants sharing in eq engine, disable hack in theory engine."
This partially reverts commit f70804a7159390fcb01d8c1ec208fbfd8e544fba.
In particular, it DOES NOT revert
"Changes to strings solver : modify lemmas/splits to avoid constants, minor refactoring. Fix assertion failure in quantifiers engine."
which is part of the same commit.
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r-- | src/theory/theory_engine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp index eae76099e..9d91c096a 100644 --- a/src/theory/theory_engine.cpp +++ b/src/theory/theory_engine.cpp @@ -1201,6 +1201,7 @@ theory::EqualityStatus TheoryEngine::getEqualityStatus(TNode a, TNode b) { } Node TheoryEngine::getModelValue(TNode var) { + if(var.isConst()) return var; // FIXME: HACK!!! Assert(d_sharedTerms.isShared(var)); return theoryOf(Theory::theoryOf(var.getType()))->getModelValue(var); } |