Skip to content

Commit 3a8cb9b

Browse files
committed
Fix issue with fp64 in test_numpy_interop.py::test_asnumpy
1 parent c2d2815 commit 3a8cb9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/third_party/cupy/test_numpy_interop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_lt(self):
145145
class TestAsnumpy:
146146

147147
def test_asnumpy(self):
148-
x = testing.shaped_random((2, 3, 4), cupy, cupy.float64)
148+
x = testing.shaped_random((2, 3, 4), cupy, cupy.default_float_type())
149149
y = cupy.asnumpy(x)
150150
testing.assert_array_equal(x, y)
151151

0 commit comments

Comments
 (0)