Skip to content

Commit

Permalink
TMP: test change
Browse files Browse the repository at this point in the history
  • Loading branch information
DPeterK committed Jun 15, 2016
1 parent fdb0f16 commit 5f61975
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/iris/tests/test_basic_maths.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,10 @@ def vec_mag(u, v):
vec_mag_ufunc = np.frompyfunc(vec_mag, 2, 1)
b = iris.analysis.maths.apply_ufunc(vec_mag_ufunc, a, c)

ans = a.data**2 + c.data**2
b2 = b**2
ans = np.sqrt(a.data**2 + c.data**2)
# b2 = b**2

self.assertArrayAlmostEqual(b2.data, ans)
self.assertArrayAlmostEqual(b.data, ans)

class TestIFunc(tests.IrisTest):
def setUp(self):
Expand Down

0 comments on commit 5f61975

Please sign in to comment.