mirror of
https://github.com/Z3Prover/z3
synced 2025-06-03 21:01:22 +00:00
fix crash reported by Jojanovich, github issue 45'
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7e6ab736c0
commit
7d88d04514
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ class fix_dl_var_tactic : public tactic {
|
||||||
expr_ref new_curr(m);
|
expr_ref new_curr(m);
|
||||||
proof_ref new_pr(m);
|
proof_ref new_pr(m);
|
||||||
unsigned size = g->size();
|
unsigned size = g->size();
|
||||||
for (unsigned idx = 0; idx < size; idx++) {
|
for (unsigned idx = 0; !g->inconsistent() && idx < size; idx++) {
|
||||||
expr * curr = g->form(idx);
|
expr * curr = g->form(idx);
|
||||||
m_rw(curr, new_curr, new_pr);
|
m_rw(curr, new_curr, new_pr);
|
||||||
if (produce_proofs) {
|
if (produce_proofs) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue