summaryrefslogtreecommitdiff
path: root/src/preprocessing
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/preprocessing
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/preprocessing')
-rw-r--r--src/preprocessing/passes/sygus_inference.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preprocessing/passes/sygus_inference.cpp b/src/preprocessing/passes/sygus_inference.cpp
index 31f927359..7336ac159 100644
--- a/src/preprocessing/passes/sygus_inference.cpp
+++ b/src/preprocessing/passes/sygus_inference.cpp
@@ -303,7 +303,7 @@ bool SygusInference::solveSygus(std::vector<Node>& assertions,
// make a separate smt call
std::unique_ptr<SmtEngine> rrSygus;
theory::initializeSubsolver(rrSygus);
- rrSygus->assertFormula(body.toExpr());
+ rrSygus->assertFormula(body);
Trace("sygus-infer") << "*** Check sat..." << std::endl;
Result r = rrSygus->checkSat();
Trace("sygus-infer") << "...result : " << r << std::endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback