Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbybp committed Mar 18, 2024
1 parent c64dcf4 commit fed3c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyomo/core/expr/visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@ def beforeChild(self, parent, child, index):
else:
variables = self._variables
var_set = self._seen
if id(child) not in local_var_set:
if id(child) not in var_set:
var_set.add(id(child))
variables.append(child)
return False, None
Expand Down

0 comments on commit fed3c33

Please sign in to comment.