We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca424ee commit d3b484cCopy full SHA for d3b484c
tests/test_core.py
@@ -769,7 +769,7 @@ def test_count_diagonal_ndist():
769
770
771
def test_get_array_ranges():
772
- x = np.array([3, 9, 2, 1, 5, 4, 7, 7, 8, 6])
+ x = np.array([3, 9, 2, 1, 5, 4, 7, 7, 8, 6], dtype=np.int64)
773
for n_chunks in range(2, 5):
774
ref = naive.get_array_ranges(x, n_chunks, False)
775
@@ -778,7 +778,7 @@ def test_get_array_ranges():
778
779
780
def test_get_array_ranges_exhausted():
781
- x = np.array([3, 3, 3, 11, 11, 11])
+ x = np.array([3, 3, 3, 11, 11, 11], dtype=np.int64)
782
n_chunks = 6
783
784
@@ -788,7 +788,7 @@ def test_get_array_ranges_exhausted():
788
789
790
def test_get_array_ranges_exhausted_truncated():
791
792
793
794
ref = naive.get_array_ranges(x, n_chunks, True)
0 commit comments