summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorHaniel Barbosa <hanielbbarbosa@gmail.com>2021-08-04 12:28:12 -0300
committerGitHub <noreply@github.com>2021-08-04 10:28:12 -0500
commit5f89c684f95f16bdb5953fc543a36115093f1982 (patch)
treeb483a793b10e3cc147b4629a0eda3933140ca4f2 /src/smt
parent81544bb6de5b21db7ed5e41d56277105bbea103d (diff)
[proof] Add getProof to API and use it in GetProofCommand (#6974)
Also adds a call to get proof in a unit test.
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smt/command.cpp b/src/smt/command.cpp
index 36bc17096..342931912 100644
--- a/src/smt/command.cpp
+++ b/src/smt/command.cpp
@@ -1993,7 +1993,7 @@ void GetProofCommand::invoke(api::Solver* solver, SymbolManager* sm)
{
try
{
- d_result = solver->getSmtEngine()->getProof();
+ d_result = solver->getProof();
d_commandStatus = CommandSuccess::instance();
}
catch (api::CVC5ApiRecoverableException& e)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback