Skip to content

Commit

Permalink
super.__init__ call in variable visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbybp committed Mar 12, 2024
1 parent 87644ca commit e6e7259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyomo/core/expr/visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1390,6 +1390,7 @@ def visit(self, node):

class _StreamVariableVisitor(StreamBasedExpressionVisitor):
def __init__(self, include_fixed=False, descend_into_named_expressions=True):
super().__init__()
self._include_fixed = include_fixed
self._descend_into_named_expressions = descend_into_named_expressions
self.named_expressions = []
Expand Down

0 comments on commit e6e7259

Please sign in to comment.