summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorRohit Goswami <rog32@hi.is>2023-03-04 18:01:02 +0000
committerRohit Goswami <rog32@hi.is>2023-03-04 18:01:02 +0000
commit5d7b60f3d8ea4d46173c5bcc3fd42f46d28cf477 (patch)
tree82630a3db48f522f44167df93499393d485f574f /benchmarks
parent2043b4690186a67c589372cc2cf167b16b726657 (diff)
downloadnumpy-5d7b60f3d8ea4d46173c5bcc3fd42f46d28cf477.tar.gz
BENCH: Bugfix
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/benchmarks/common.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/benchmarks/benchmarks/common.py b/benchmarks/benchmarks/common.py
index f2146c3f7..a9bc6602e 100644
--- a/benchmarks/benchmarks/common.py
+++ b/benchmarks/benchmarks/common.py
@@ -141,7 +141,6 @@ def get_data(size, dtype, ip_num=0, zeros=False, finite=True, denormal=False):
denormal:
Spreading subnormal numbers along with generated data.
"""
- np = numpy
dtype = np.dtype(dtype)
dname = dtype.name
cache_name = f'{dname}_{size}_{ip_num}_{int(zeros)}'