diff options
Diffstat (limited to 'src/theory/theory_model.cpp')
-rw-r--r-- | src/theory/theory_model.cpp | 5 |
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; |