Fixed failing assertion when EqualityEngine is in conflict
authorClark Barrett <barrett@cs.nyu.edu>
Wed, 13 Jun 2012 17:06:08 +0000 (17:06 +0000)
committerClark Barrett <barrett@cs.nyu.edu>
Wed, 13 Jun 2012 17:06:08 +0000 (17:06 +0000)
src/theory/arrays/theory_arrays.cpp

index 0cd487d323cde412f77cd1ad36d3c2885431e485..9717f628690d86d49a5cc5b96b39d432b2cba001 100644 (file)
@@ -359,6 +359,9 @@ void TheoryArrays::explain(TNode literal, std::vector<TNode>& assumptions) {
  */
 void TheoryArrays::preRegisterTerm(TNode node)
 {
+  if (d_conflict) {
+    return;
+  }
   Debug("arrays") << spaces(getSatContext()->getLevel()) << "TheoryArrays::preRegisterTerm(" << node << ")" << std::endl;
   switch (node.getKind()) {
   case kind::EQUAL: