Skip to content

Commit

Permalink
updating datatype in translate test
Browse files Browse the repository at this point in the history
  • Loading branch information
oelbert committed Sep 5, 2024
1 parent 7bcce4b commit 2d7062a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ndsl/stencils/testing/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def make_storage_data(
axis=axis,
names=names_4d,
backend=self.stencil_factory.backend,
dtype=array.dtype,
)
else:
if len(array.shape) == 4:
Expand All @@ -137,6 +138,7 @@ def make_storage_data(
axis=axis,
read_only=read_only,
backend=self.stencil_factory.backend,
dtype=array.dtype,
)

def storage_vars(self):
Expand Down

0 comments on commit 2d7062a

Please sign in to comment.