summaryrefslogtreecommitdiff
path: root/examples/nra-translate/smt2toisat.cpp
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2012-10-05 22:07:16 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2012-10-05 22:07:16 +0000
commit4c87c0794b7e954afd090cfbf441caa0b09c3ef5 (patch)
treed0cfcf60cbf9600c52dcb728744802ad27a5c3e1 /examples/nra-translate/smt2toisat.cpp
parent7a9899f394476e53b7f759e698c7e10c8388fd57 (diff)
BoolExpr removed and replaced with Expr
Diffstat (limited to 'examples/nra-translate/smt2toisat.cpp')
-rw-r--r--examples/nra-translate/smt2toisat.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/nra-translate/smt2toisat.cpp b/examples/nra-translate/smt2toisat.cpp
index e2b55b4b9..b44339309 100644
--- a/examples/nra-translate/smt2toisat.cpp
+++ b/examples/nra-translate/smt2toisat.cpp
@@ -23,7 +23,7 @@ void translate_to_isat(
const vector<string>& info_tags,
const vector<string>& info_data,
const map<Expr, unsigned>& variables,
- const vector<BoolExpr>& assertions);
+ const vector<Expr>& assertions);
int main(int argc, char* argv[])
{
@@ -47,7 +47,7 @@ int main(int argc, char* argv[])
std::map<Expr, unsigned> variables;
vector<string> info_tags;
vector<string> info_data;
- vector<BoolExpr> assertions;
+ vector<Expr> assertions;
Command* cmd;
while ((cmd = parser->nextCommand())) {
@@ -148,7 +148,7 @@ void translate_to_isat_term(const map<Expr, unsigned>& variables, const Expr& te
}
}
-void translate_to_isat(const map<Expr, unsigned>& variables, const BoolExpr& assertion) {
+void translate_to_isat(const map<Expr, unsigned>& variables, const Expr& assertion) {
bool first;
unsigned n = assertion.getNumChildren();
@@ -260,7 +260,7 @@ void translate_to_isat(
const vector<string>& info_tags,
const vector<string>& info_data,
const std::map<Expr, unsigned>& variables,
- const vector<BoolExpr>& assertions)
+ const vector<Expr>& assertions)
{
bool first;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback