Skip to content

Commit

Permalink
Merge pull request numpy#12724 from mattip/remove-warning
Browse files Browse the repository at this point in the history
BENCH: quiet DeprecationWarning
  • Loading branch information
eric-wieser authored Jan 13, 2019
2 parents 1176ae8 + bf77490 commit 214fac1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmarks/benchmarks/bench_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def time_large2(self):


class CorrConv(Benchmark):
params = [[50, 1000, 1e5],
[10, 100, 1000, 1e4],
params = [[50, 1000, int(1e5)],
[10, 100, 1000, int(1e4)],
['valid', 'same', 'full']]
param_names = ['size1', 'size2', 'mode']

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchmarks/bench_linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ def setup(self):
self.b = get_indexes_rand()[:100].astype(np.float64)

def time_numpy_linalg_lstsq_a__b_float64(self):
np.linalg.lstsq(self.a, self.b)
np.linalg.lstsq(self.a, self.b, rcond=-1)

0 comments on commit 214fac1

Please sign in to comment.