Skip to content

Commit

Permalink
bug[next]: recover grid_type in scan_operator (#1408)
Browse files Browse the repository at this point in the history
lost in merge conflict in #1380
  • Loading branch information
havogt authored Jan 4, 2024
1 parent 27bf18f commit 6b269bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gt4py/next/ffront/decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ def scan_operator_inner(definition: types.FunctionType) -> FieldOperator:
return FieldOperator.from_function(
definition,
DEFAULT_BACKEND if backend is eve.NOTHING else backend,
grid_type,
operator_node_cls=foast.ScanOperator,
operator_attributes={"axis": axis, "forward": forward, "init": init},
)
Expand Down

0 comments on commit 6b269bd

Please sign in to comment.