Skip to content

Commit

Permalink
Update model/common/src/icon4py/model/common/utils/gt4py_field_alloca…
Browse files Browse the repository at this point in the history
…tion.py
  • Loading branch information
nfarabullini authored Oct 11, 2024
1 parent 2704bf1 commit 746a904
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def allocate_zero_field(
if is_halfdim:
assert len(shapex) == 2
shapex = (shapex[0], shapex[1] + 1)
return gtx.as_field(dims, xp.zeros(shapex, dtype=dtype), allocator=backend.allocator)
return gtx.as_field(dims, xp.zeros(shapex, dtype=dtype), allocator=backend)


def allocate_indices(
Expand Down

0 comments on commit 746a904

Please sign in to comment.