Skip to content

Commit

Permalink
fix tptp5 build
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Dec 1, 2022
1 parent 30c9cda commit 147fb0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/tptp/tptp5.cpp
Expand Up @@ -2313,7 +2313,8 @@ static void display_smt2(std::ostream& out) {
for (size_t i = 0; i < asms.size(); ++i) {
z3::expr fml = asms[i];
if (fml.is_and()) {
asms.set(i, fml.arg(0));
z3::expr arg0 = fml.arg(0);
asms.set(i, arg0);
for (unsigned j = 1; j < fml.num_args(); ++j)
asms.push_back(fml.arg(j));
--i;
Expand Down

0 comments on commit 147fb0d

Please sign in to comment.