Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 9, 2024
1 parent e989d73 commit 307a043
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions benchmarks/test_benchmark_coo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

import numpy as np

from .utils import SEED, DENSITY
from .utils import DENSITY, SEED


def side_ids(side):
return f"{side=}"
Expand Down Expand Up @@ -90,7 +91,7 @@ def test_index_scalar(benchmark, indexing_args):
x = indexing_args
side = x.shape([0])

x[5] # Numba compilation
x[5] # Numba compilation

@benchmark
def bench():
Expand All @@ -101,7 +102,7 @@ def test_index_slice(benchmark, indexing_args):
x = indexing_args
side = x.shape([0])

x[5] # Numba compilation
x[5] # Numba compilation

@benchmark
def bench():
Expand All @@ -112,7 +113,7 @@ def test_index_slice2(benchmark, indexing_args):
x = indexing_args
side = x.shape([0])

x[5] # Numba compilation
x[5] # Numba compilation

@benchmark
def bench():
Expand All @@ -123,7 +124,7 @@ def test_index_slice3(benchmark, indexing_args):
x = indexing_args
side = x.shape([0])

x[5] # Numba compilation
x[5] # Numba compilation

@benchmark
def bench():
Expand Down

0 comments on commit 307a043

Please sign in to comment.