From fbbd4e966395aa3c8094ef137aa17be5f372e2b0 Mon Sep 17 00:00:00 2001 From: Tim King Date: Mon, 11 Jun 2012 22:32:46 +0000 Subject: [PATCH] Fixing type comparision assertion in getEqualityStatus(). --- src/theory/theory_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp index 7ea9e063e..a7c378152 100644 --- 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; -- 2.30.2