Skip to content

Commit f7e82ac

Browse files
authored
Apply suggestions from code review
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
1 parent fd92a4f commit f7e82ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎examples/backends/plot_ot_batch.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@
9090
## Naive approach
9191
results_values_list = []
9292
for i in range(n_problems):
93-
res = ot.solve(M_list[i], reg=None, max_iter=max_iter, tol=tol)
93+
res = ot.solve(M_list[i], max_iter=max_iter, tol=tol)
9494
results_values_list.append(res.value_linear)
9595

9696
## Batched approach
97-
results_batch = ot.solve_batch(M=M_batch, reg=None, max_iter=max_iter, tol=tol)
97+
results_batch = ot.solve_batch(M=M_batch, max_iter=max_iter, tol=tol)
9898
results_values_batch = results_batch.value_linear
9999

100100
exact_validated = np.allclose(

0 commit comments

Comments
 (0)