Skip to content

Commit

Permalink
Merge pull request cupy#8892 from chainer-ci/bp-8882-v13-empty-ind
Browse files Browse the repository at this point in the history
[backport] Support empty tuple indexing for sparse matrix
  • Loading branch information
kmaehashi authored Jan 22, 2025
2 parents 7d8272a + addaf8d commit f72cee4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cupyx_tests/scipy_tests/sparse_tests/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ def test_list_indexing(self, xp, sp, dtype):
return res

@skip_HIP_0_size_matrix()
@testing.with_requires('scipy<1.15.0')
@testing.for_dtypes('fdFD')
@testing.for_dtypes('il', name='ind_dtype')
@testing.numpy_cupy_array_equal(
Expand All @@ -468,6 +469,7 @@ def test_numpy_ndarray_indexing(self, xp, sp, dtype, ind_dtype):
return res

@skip_HIP_0_size_matrix()
@testing.with_requires('scipy<1.15.0')
@testing.for_dtypes('fdFD')
@testing.for_dtypes('il', name='ind_dtype')
@testing.numpy_cupy_array_equal(
Expand Down

0 comments on commit f72cee4

Please sign in to comment.