mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
fix tptp5 build
This commit is contained in:
parent
30c9cda61e
commit
147fb0d9c1
|
@ -2313,7 +2313,8 @@ static void display_smt2(std::ostream& out) {
|
||||||
for (size_t i = 0; i < asms.size(); ++i) {
|
for (size_t i = 0; i < asms.size(); ++i) {
|
||||||
z3::expr fml = asms[i];
|
z3::expr fml = asms[i];
|
||||||
if (fml.is_and()) {
|
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)
|
for (unsigned j = 1; j < fml.num_args(); ++j)
|
||||||
asms.push_back(fml.arg(j));
|
asms.push_back(fml.arg(j));
|
||||||
--i;
|
--i;
|
||||||
|
|
Loading…
Reference in a new issue