Skip to content

Commit

Permalink
Changed dtype for timings (line 113) to numpy.uint64
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveHere authored Jul 15, 2019
1 parent 0fef038 commit 9812c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perfplot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def bench(
# round up to nearest integer
resolution = -int(-resolution // 1) # typically around 10 (ns)

timings = numpy.empty((len(kernels), len(n_range)), dtype=int)
timings = numpy.empty((len(kernels), len(n_range)), dtype=numpy.uint64)

try:
for i, n in enumerate(tqdm(n_range)):
Expand Down

0 comments on commit 9812c58

Please sign in to comment.