Skip to content

Commit

Permalink
Missed commit
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDeconinck committed Aug 23, 2023
1 parent 8f6ba7c commit 31c4844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stencils/pace/stencils/testing/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def grid_data(self) -> "GridData":
data = getattr(self, name)
assert data is not None

quantity = self.quantity_factory.empty(dims=dims, units=units)
quantity = self.quantity_factory.zeros(dims=dims, units=units)
if len(quantity.shape) == 3:
quantity.data[:] = data[:, :, : quantity.shape[2]]
elif len(quantity.shape) == 2:
Expand Down

0 comments on commit 31c4844

Please sign in to comment.