Skip to content

Commit

Permalink
fix issue in PlaceholderSubstitutor call mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
majosm committed Aug 27, 2024
1 parent 97212b9 commit a5dbc5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytato/transform/calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def map_placeholder(self, expr: Placeholder) -> Array:
# collide with the ones being replaced
return self.substitutions[expr.name]

def map_call(self, expr: Call) -> Call:
def map_function_definition(
self, expr: FunctionDefinition) -> FunctionDefinition:
# Only operates within the current stack frame
return expr

Expand Down

0 comments on commit a5dbc5a

Please sign in to comment.