From d54671d714e09f79b785a71c99c989ac0eae53cf Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Fri, 25 Jun 2021 19:44:37 -0500 Subject: [PATCH] fix reduction test --- test/test_arraycontext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_arraycontext.py b/test/test_arraycontext.py index eb55fb4..df732e7 100644 --- a/test/test_arraycontext.py +++ b/test/test_arraycontext.py @@ -421,7 +421,7 @@ def test_dof_array_reductions_same_as_numpy(actx_factory, op): else: assert isinstance(actx_red, Number) - assert np.allclose(np_red, actx.to_numpy(actx_red)) + assert np.allclose(np_red, actx_red) # }}} -- GitLab