fix(library/unifier): cyclic assignment (?M <- ?M)
This was producing nonterminating behavior on example described at issue #489
This commit is contained in:
parent
431eade894
commit
28dad944c5
1 changed files with 1 additions and 1 deletions
|
@ -1998,7 +1998,7 @@ struct unifier_fn {
|
|||
buffer<expr> lhs_args, rhs_args;
|
||||
expr ml = get_app_args(lhs, lhs_args);
|
||||
expr mr = get_app_args(rhs, rhs_args);
|
||||
if (ml == mr) {
|
||||
if (mlocal_name(ml) == mlocal_name(mr)) {
|
||||
discard(c);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue