mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 02:40:24 +00:00
fix in occurs_check (early exit)
This commit is contained in:
parent
ac881d949d
commit
66b85e000b
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ namespace smt {
|
||||||
if (d->m_constructor) {
|
if (d->m_constructor) {
|
||||||
for (enode * arg : enode::args(d->m_constructor)) {
|
for (enode * arg : enode::args(d->m_constructor)) {
|
||||||
if (oc_cycle_free(arg)) {
|
if (oc_cycle_free(arg)) {
|
||||||
return false;
|
continue;
|
||||||
}
|
}
|
||||||
if (oc_on_stack(arg)) {
|
if (oc_on_stack(arg)) {
|
||||||
// arg was explored before app, and is still on the stack: cycle
|
// arg was explored before app, and is still on the stack: cycle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue