3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-20 23:56:37 +00:00

refresh length tester in theory_str::gen_len_val_options_for_free_var

fixes charAt-007.smt2
This commit is contained in:
Murphy Berzish 2016-09-20 00:28:29 -04:00
parent f1d7ffcdce
commit 447c6e4ce3

View file

@ -8786,6 +8786,7 @@ expr * theory_str::gen_len_val_options_for_free_var(expr * freeVar, expr * lenTe
} else {
// TODO make absolutely sure this is safe to do if 'indicator' is technically out of scope
indicator = fvar_lenTester_map[freeVar][i];
refresh_theory_var(indicator);
testNum = i + 1;
}
expr * lenTestAssert = gen_len_test_options(freeVar, indicator, testNum);