Skip to content

Commit bda3062

Browse files
reint-fischerreint-fischer
authored andcommitted
fix interpolation tests
1 parent 27b8dfc commit bda3062

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_interpolation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_spatial_slip_interpolation(field, func, t, z, y, x, expected):
155155
)
156156
def test_invdistland_interpolation(field, func, t, z, y, x, expected):
157157
field.data[:] = 1.0
158-
field.data[:, :, 1:3, 1:3] = np.nan # Set NaN land value to test inv_dist
158+
field.data[:, :, 1:3, 1:3] = 0 # Set NaN land value to test inv_dist
159159
field.interp_method = func
160160

161161
value = field[t, z, y, x]

0 commit comments

Comments
 (0)