Skip to content

Commit 812e239

Browse files
committed
changed name
1 parent 65072af commit 812e239

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmarks/test_benchmark_coo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ def indexing_args(request, seed, max_size):
9191
def test_index_scalar(benchmark, indexing_args):
9292
x = indexing_args
9393
side = x.shape[0]
94-
ndim = len(x.shape)
94+
rank = len(x.shape)
9595

96-
x[(side // 2,) * ndim] # Numba compilation
96+
x[(side // 2,) * rank] # Numba compilation
9797

9898
@benchmark
9999
def bench():
100-
x[(side // 2,) * ndim]
100+
x[(side // 2,) * rank]
101101

102102

103103
def test_index_slice(benchmark, indexing_args):

0 commit comments

Comments
 (0)