projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe06dc
)
Fixing type comparision assertion in getEqualityStatus().
author
Tim King
<taking@cs.nyu.edu>
Mon, 11 Jun 2012 22:32:46 +0000
(22:32 +0000)
committer
Tim King
<taking@cs.nyu.edu>
Mon, 11 Jun 2012 22:32:46 +0000
(22:32 +0000)
src/theory/theory_engine.cpp
patch
|
blob
|
history
diff --git
a/src/theory/theory_engine.cpp
b/src/theory/theory_engine.cpp
index 7ea9e063e87b1a050d66fa7df359ac4984cdf42b..a7c3781520dc1f556a4abe3b9364bddebb419da3 100644
(file)
--- a/
src/theory/theory_engine.cpp
+++ b/
src/theory/theory_engine.cpp
@@
-997,7
+997,7
@@
void TheoryEngine::propagateAsDecision(TNode literal, theory::TheoryId theory) {
}
theory::EqualityStatus TheoryEngine::getEqualityStatus(TNode a, TNode b) {
- Assert(a.getType()
== b.getType(
));
+ Assert(a.getType()
.isComparableTo(b.getType()
));
if (d_sharedTerms.isShared(a) && d_sharedTerms.isShared(b)) {
if (d_sharedTerms.areEqual(a,b)) {
return EQUALITY_TRUE_AND_PROPAGATED;