Skip to content

Commit 788b967

Browse files
committed
keep sticker happy
1 parent f1d808c commit 788b967

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/iris/tests/test_basic_maths.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,13 +596,13 @@ def vec_mag(u, v):
596596
def vec_mag_data_func(u_data, v_data):
597597
return np.sqrt( u_data**2 + v_data**2 )
598598

599-
vec_mag_ifunc = iris.analysis.maths.IFunc(vec_mag_data_func, lambda a,b: (a + b).units)
599+
vec_mag_ifunc = iris.analysis.maths.IFunc(vec_mag_data_func,
600+
lambda a, b: (a + b).units)
600601
b2 = vec_mag_ifunc(a, c)
601602

602603
self.assertArrayAlmostEqual(b.data, b2.data)
603604

604-
cs_ifunc = iris.analysis.maths.IFunc(np.cumsum,
605-
lambda a: a.units)
605+
cs_ifunc = iris.analysis.maths.IFunc(np.cumsum, lambda a: a.units)
606606

607607
b = cs_ifunc(a, axis=1)
608608
ans = a.data.copy()

0 commit comments

Comments
 (0)