summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/expr_miner.cpp
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-07-15 16:42:00 -0700
committerGitHub <noreply@github.com>2020-07-15 18:42:00 -0500
commit3b87ce3ab67fd463a733ad11402e32f94eb1017e (patch)
treef58e422e35ca61ca61045f09643d61d2e500a77c /src/theory/quantifiers/expr_miner.cpp
parentf1351ca7462d3d601e0dec78b71f54e0c7ee381f (diff)
Use Nodes for SmtEngine assertions (#4752)
This commit changes SmtEngine::assertFormula() to use Nodes rather than Exprs and changes AssertionList to be Node-based. This is work towards removing the Expr layer.
Diffstat (limited to 'src/theory/quantifiers/expr_miner.cpp')
-rw-r--r--src/theory/quantifiers/expr_miner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/expr_miner.cpp b/src/theory/quantifiers/expr_miner.cpp
index 00a627adf..72e47fac8 100644
--- a/src/theory/quantifiers/expr_miner.cpp
+++ b/src/theory/quantifiers/expr_miner.cpp
@@ -80,7 +80,7 @@ void ExprMiner::initializeChecker(std::unique_ptr<SmtEngine>& checker,
// Convert bound variables to skolems. This ensures the satisfiability
// check is ground.
Node squery = convertToSkolem(query);
- checker->assertFormula(squery.toExpr());
+ checker->assertFormula(squery);
}
Result ExprMiner::doCheck(Node query)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback