summaryrefslogtreecommitdiff
path: root/src/smt/abduction_solver.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/smt/abduction_solver.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/smt/abduction_solver.cpp')
-rw-r--r--src/smt/abduction_solver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smt/abduction_solver.cpp b/src/smt/abduction_solver.cpp
index adb80b719..01e2a4f0f 100644
--- a/src/smt/abduction_solver.cpp
+++ b/src/smt/abduction_solver.cpp
@@ -69,7 +69,7 @@ bool AbductionSolver::getAbduct(const Node& goal,
l.enableSygus();
d_subsolver->setLogic(l);
// assert the abduction query
- d_subsolver->assertFormula(aconj.toExpr());
+ d_subsolver->assertFormula(aconj);
return getAbductInternal(abd);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback