Skip to content

Commit 683dc7d

Browse files
committed
Fix the refresh_memory test
1 parent d312dfc commit 683dc7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_compiler_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def test_refresh_memory():
378378
assert np.all(arguments[0] == [1, 2, 3])
379379
arguments[0] = np.array([0, 0, 0]).astype(np.int8)
380380
assert np.all(arguments[0] == [0, 0, 0])
381-
cfunc.refresh_memory(arguments, [True])
381+
cfunc.refresh_memory(None, arguments, [True])
382382
assert np.all(arguments[0] == [1, 2, 3])
383383

384384

0 commit comments

Comments
 (0)