From 6b269bdf4bdc9e6e6c896b03c43f73c6342eb443 Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Thu, 4 Jan 2024 17:04:55 +0100 Subject: [PATCH] bug[next]: recover grid_type in scan_operator (#1408) lost in merge conflict in #1380 --- src/gt4py/next/ffront/decorator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gt4py/next/ffront/decorator.py b/src/gt4py/next/ffront/decorator.py index 76a0ddcde0..147059b1bd 100644 --- a/src/gt4py/next/ffront/decorator.py +++ b/src/gt4py/next/ffront/decorator.py @@ -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}, )