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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/theory_model.cpp b/src/theory/theory_model.cpp
index c6055ede9..399695131 100644
--- a/src/theory/theory_model.cpp
+++ b/src/theory/theory_model.cpp
@@ -598,6 +598,11 @@ void TheoryModel::recordApproximation(TNode n, TNode pred)
// model cache is invalid
d_modelCache.clear();
}
+void TheoryModel::recordApproximation(TNode n, TNode pred, Node witness)
+{
+ Node predDisj = NodeManager::currentNM()->mkNode(OR, n.eqNode(witness), pred);
+ recordApproximation(n, predDisj);
+}
void TheoryModel::setUsingModelCore()
{
d_using_model_core = true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback