From 5a9b669e0c4f0fb882de96a1baa3c619cd77dc3d Mon Sep 17 00:00:00 2001 From: arghdos <arghdos@gmail.com> Date: Fri, 18 Aug 2017 14:06:33 -0400 Subject: [PATCH] float for exact comparison --- test/test_loopy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_loopy.py b/test/test_loopy.py index 54a304d40..0aff90fd2 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -1012,7 +1012,7 @@ def test_atomic(ctx_factory, dtype): def test_atomic_load(ctx_factory): - dtype = np.int32 + dtype = np.float32 ctx = ctx_factory() queue = cl.CommandQueue(ctx) from loopy.kernel.data import temp_var_scope as scopes -- GitLab