3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-07-13 19:22:31 -07:00
parent 4a9c4ca2ce
commit 3727f70363

View file

@ -229,7 +229,7 @@ br_status bool_rewriter::mk_nflat_or_core(unsigned num_args, expr * const * args
pos_lits.mark(arg);
}
buffer.push_back(arg);
s |= prev && lt(arg, prev);
s |= prev && arg->get_id() < prev->get_id();
prev = arg;
}
@ -327,7 +327,7 @@ br_status bool_rewriter::mk_flat_or_core(unsigned num_args, expr * const * args,
}
else {
flat_args.push_back(arg);
ordered &= (!prev || !lt(arg, prev));
ordered &= (!prev || arg->get_id() >= prev->get_id());
prev = arg;
}
}