summaryrefslogtreecommitdiff
path: root/src/theory/theory_model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/theory_model.cpp')
-rw-r--r--src/theory/theory_model.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/theory_model.cpp b/src/theory/theory_model.cpp
index 814aa7ee4..357343a3c 100644
--- a/src/theory/theory_model.cpp
+++ b/src/theory/theory_model.cpp
@@ -353,7 +353,7 @@ void TheoryModel::addSubstitution( TNode x, TNode t, bool invalidateCache ){
Debug("model") << "Add substitution in model " << x << " -> " << t << std::endl;
d_substitutions.addSubstitution( x, t, invalidateCache );
} else {
-#ifdef CVC4_ASSERTIONS
+#ifdef CVC5_ASSERTIONS
Node oldX = d_substitutions.getSubstitution(x);
// check that either the old substitution is the same, or it now maps to the new substitution
if(oldX != t && d_substitutions.apply(oldX) != d_substitutions.apply(t)) {
@@ -363,7 +363,7 @@ void TheoryModel::addSubstitution( TNode x, TNode t, bool invalidateCache ){
<< "old mapping: " << d_substitutions.apply(oldX) << "\n"
<< "new mapping: " << d_substitutions.apply(t);
}
-#endif /* CVC4_ASSERTIONS */
+#endif /* CVC5_ASSERTIONS */
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback