Skip to content

Commit 140b391

Browse files
committed
Change from numpy to numexpr calculation
1 parent a03c8d9 commit 140b391

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/ndarray/test_lazyexpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def test_expression_with_constants(array_fixture):
270270
a1, a2, a3, a4, na1, na2, na3, na4 = array_fixture
271271
# Test with operands with same chunks and blocks
272272
expr = a1 + 2 - a3 * 3.14
273-
nres = na1 + 2 - na3 * 3.14
273+
nres = ne_evaluate("na1 + 2 - na3 * 3.14")
274274
res = expr.compute()
275275
if na1.dtype == np.float32:
276276
np.testing.assert_allclose(res[:], nres, rtol=1e-5)

0 commit comments

Comments
 (0)