Skip to content

Commit

Permalink
comment out unnecessary walker methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbybp committed Mar 7, 2024
1 parent 7299a79 commit 8b66e10
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyomo/util/subsystems.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ def exitNode(self, node, data):
def finalizeResult(self, result):
return self._functions

def enterNode(self, node):
pass
#def enterNode(self, node):
# pass

def acceptChildResult(self, node, data, child_result, child_idx):
if child_result.__class__ in native_types:
return False, None
return child_result.is_expression_type(), None
#def acceptChildResult(self, node, data, child_result, child_idx):
# if child_result.__class__ in native_types:
# return False, None
# return child_result.is_expression_type(), None


def identify_external_functions(expr):
Expand Down

0 comments on commit 8b66e10

Please sign in to comment.