fix(library/tactic/inversion_tactic): incorrect use of optimization
This commit is contained in:
parent
107763a506
commit
431eade894
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ class inversion_tac {
|
|||
for (unsigned i = fidx; i < args.size(); i++) {
|
||||
if (!is_local(args[i]))
|
||||
return false; // the indices must be local constants
|
||||
for (unsigned j = fidx; j < i; j++) {
|
||||
if (mlocal_name(args[j]) == mlocal_name(args[i]))
|
||||
for (unsigned j = 0; j < i; j++) {
|
||||
if (is_local(args[j]) && mlocal_name(args[j]) == mlocal_name(args[i]))
|
||||
return false; // the indices must be distinct local constants
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue