diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2020-09-02 15:48:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 08:48:12 -0500 |
commit | 02e682821028bc704c57a762dadeb6f82bb70ebf (patch) | |
tree | 4eb20c4d3e6b06eaee58b808909e603da013b554 /src/theory/arith/nl/nl_model.cpp | |
parent | 78917e16f6521b0e8a074f3649fc6adf37614617 (diff) |
Add ArithLemma and arith::InferenceManager (#4960)
This PR adds a new ArithLemma that is essentiall NlLemma, but derived from the new theory::Lemma and meant to be used all across the arithmetic theory.
Also, based on theory::InferenceManagerBuffered this PR adds arith::InferenceManager that shall become the sole interface between the arithmetic theory and the OutputChannel.
Diffstat (limited to 'src/theory/arith/nl/nl_model.cpp')
-rw-r--r-- | src/theory/arith/nl/nl_model.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/arith/nl/nl_model.cpp b/src/theory/arith/nl/nl_model.cpp index cfa153a56..fbc38fbc2 100644 --- a/src/theory/arith/nl/nl_model.cpp +++ b/src/theory/arith/nl/nl_model.cpp @@ -326,7 +326,7 @@ bool NlModel::checkModel(const std::vector<Node>& assertions, Node v = cb.first; Node pred = nm->mkNode(AND, nm->mkNode(GEQ, v, l), nm->mkNode(GEQ, u, v)); pred = nm->mkNode(OR, mg.negate(), pred); - lemmas.push_back(pred); + lemmas.emplace_back(pred); } } return true; |