summaryrefslogtreecommitdiff
path: root/src/printer/smt2
diff options
context:
space:
mode:
authoryoni206 <yoni206@users.noreply.github.com>2020-11-12 14:00:14 -0800
committerGitHub <noreply@github.com>2020-11-12 16:00:14 -0600
commit3db60fa3fba4787cc33a61c1a357c43ba1cc9d6d (patch)
tree5d28086747e689cb3499873bf23c1c8fe3178785 /src/printer/smt2
parenta19e20cd3049134b15dbdcf7854a8854a77ccc43 (diff)
Models standard (#5415)
This PR relates to #4987 . Our plan is to: delete the model keyword avoid printing extra declarations by default wrap UF values with as expressions. This PR does step 1, and fixes regressions accordingly.
Diffstat (limited to 'src/printer/smt2')
-rw-r--r--src/printer/smt2/smt2_printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp
index 032d26511..feef73217 100644
--- a/src/printer/smt2/smt2_printer.cpp
+++ b/src/printer/smt2/smt2_printer.cpp
@@ -1330,7 +1330,7 @@ void Smt2Printer::toStream(std::ostream& out, const smt::Model& m) const
out << "; " << ln << std::endl;
}
//print the model
- out << "(model" << endl;
+ out << "(" << endl;
// don't need to print approximations since they are built into choice
// functions in the values of variables.
this->Printer::toStream(out, m);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback