Skip to content

Commit 38d2b5b

Browse files
committed
black
Signed-off-by: xadupre <[email protected]>
1 parent be13147 commit 38d2b5b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

benchmarks/bench_plot_onnxruntime_linreg.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ def bench(n_obs, n_features, fit_intercepts, methods, repeat=10, verbose=False):
130130

131131
# checks that both produce the same outputs
132132
if n <= 10000 and len(p1.shape) == 1 and len(p2.shape) == 2:
133-
p2 = p2.ravel()
134-
try:
135-
assert_almost_equal(p1.ravel(), p2.ravel(), decimal=5)
136-
except AssertionError as e:
137-
warnings.warning(str(e))
133+
p2 = p2.ravel()
134+
try:
135+
assert_almost_equal(p1.ravel(), p2.ravel(), decimal=5)
136+
except AssertionError as e:
137+
warnings.warning(str(e))
138138
return res
139139

140140

0 commit comments

Comments
 (0)