Skip to content

Commit cb21052

Browse files
committed
Update test_slices_2d to pass on a device without fp64
1 parent b75ed8e commit cb21052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dpnp/tests/test_memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_view_non_zero_offset(self):
4545

4646
def test_slices_2d(self):
4747
# Create 2D array and verify slices have different pointers
48-
a = dpnp.arange(12, dtype=float).reshape(3, 4)
48+
a = dpnp.arange(12, dtype=dpnp.float32).reshape(3, 4)
4949

5050
# Each row should have a different pointer
5151
row0_ptr = a[0].data.ptr

0 commit comments

Comments
 (0)