mirror of
https://github.com/Z3Prover/z3
synced 2025-04-05 17:14:07 +00:00
Merge pull request #1341 from mtrberzi/issue1274-crash
Internalize free var before iterating eqc in theory_str
This commit is contained in:
commit
abeaefa8fe
|
@ -10430,6 +10430,9 @@ namespace smt {
|
|||
// iterate parents
|
||||
if (standAlone) {
|
||||
// I hope this works!
|
||||
if (!ctx.e_internalized(freeVar)) {
|
||||
ctx.internalize(freeVar, false);
|
||||
}
|
||||
enode * e_freeVar = ctx.get_enode(freeVar);
|
||||
enode_vector::iterator it = e_freeVar->begin_parents();
|
||||
for (; it != e_freeVar->end_parents(); ++it) {
|
||||
|
|
Loading…
Reference in a new issue