Skip to content

Commit 1abff07

Browse files
committed
port test_tools to arraycontext
1 parent 57971a5 commit 1abff07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_fft(actx_factory, size):
9090
out = fft(inp)
9191

9292
fft_func = loopy_fft(inp.shape, inverse=False, complex_dtype=inp.dtype.type)
93-
evt, (out_dev,) = fft_func(actx, y=inp_dev)
93+
out_dev = actx.call_loopy(fft_func, y=inp_dev)["x"]
9494

9595
assert np.allclose(actx.to_numpy(out_dev), out)
9696

0 commit comments

Comments
 (0)