Skip to content

Commit e7cefdf

Browse files
Set time as float in test
Co-authored-by: Erik van Sebille <e.vansebille@uu.nl>
1 parent d5b0ce8 commit e7cefdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_uxarray_fieldset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_fesom2_square_delaunay_uniform_z_coordinate_eval():
123123
fieldset = FieldSet([UVW, P, UVW.U, UVW.V, UVW.W])
124124

125125
assert np.isclose(
126-
fieldset.U.eval(time=ds.time[0].values, z=[1.0], y=[30.0], x=[30.0], applyConversion=False),
126+
fieldset.U.eval(time=[0.], z=[1.0], y=[30.0], x=[30.0], applyConversion=False),
127127
1.0,
128128
rtol=1e-3,
129129
atol=1e-6,

0 commit comments

Comments
 (0)