summaryrefslogtreecommitdiff
path: root/src/parser/smt2/smt2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/smt2/smt2.cpp')
-rw-r--r--src/parser/smt2/smt2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser/smt2/smt2.cpp b/src/parser/smt2/smt2.cpp
index 04e8be64b..7ba882f24 100644
--- a/src/parser/smt2/smt2.cpp
+++ b/src/parser/smt2/smt2.cpp
@@ -1267,7 +1267,8 @@ void Smt2::mkSygusDatatype(api::DatatypeDecl& dt,
api::Term lbvl = makeSygusBoundVarList(dt, i, ltypes, largs);
// make the let_body
- api::Term body = applyParseOp(ops[i], largs);
+ std::vector<api::Term> largsApply = largs;
+ api::Term body = applyParseOp(ops[i], largsApply);
// replace by lambda
ParseOp pLam;
pLam.d_expr = d_solver->mkTerm(api::LAMBDA, lbvl, body);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback