summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-05-14 14:46:53 -0500
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-05-14 14:47:09 -0500
commit478b935ba5e2b9eda4eb21f7651747c5325229b1 (patch)
tree6492b5a4598efadf533859c9d45bafce9295a899 /src/smt
parente0a291555fc4710c39a75eac19039a063c166cea (diff)
Finish --dump-instantiations option. Update scripts.
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 4deb43f42..c6b76e850 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -3801,15 +3801,16 @@ Proof* SmtEngine::getProof() throw(ModalException) {
}
void SmtEngine::printInstantiations( std::ostream& out ) {
- //if( options::instFormatMode()==INST_FORMAT_MODE_SZS ){
- out << "% SZS CNF output start CNFRefutation for " << d_filename.c_str() << std::endl;
- //}
+ SmtScope smts(this);
+ if( options::instFormatMode()==INST_FORMAT_MODE_SZS ){
+ out << "% SZS CNF output start CNFRefutation for " << d_filename.c_str() << std::endl;
+ }
if( d_theoryEngine ){
d_theoryEngine->printInstantiations( out );
}
- //if( options::instFormatMode()==INST_FORMAT_MODE_SZS ){
- out << "% SZS CNF output end CNFRefutation for " << d_filename.c_str() << std::endl;
- //}
+ if( options::instFormatMode()==INST_FORMAT_MODE_SZS ){
+ out << "% SZS CNF output end CNFRefutation for " << d_filename.c_str() << std::endl;
+ }
}
vector<Expr> SmtEngine::getAssertions() throw(ModalException) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback