summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortvayer <titouan.vayer@gmail.com>2019-06-04 10:32:30 +0200
committertvayer <titouan.vayer@gmail.com>2019-06-04 10:32:35 +0200
commitad450b0a5bb63ee9731e88d4a8e7423b16f1abd8 (patch)
treecab0421292074e59cb4eeb2846e8cca5aa159d3a /test
parent89a2e0aee4353a051d924de0457f8976c26fa5d7 (diff)
changes forgotten coments
Diffstat (limited to 'test')
-rw-r--r--test/test_optim.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_optim.py b/test/test_optim.py
index e7ba32a..ae31e1f 100644
--- a/test/test_optim.py
+++ b/test/test_optim.py
@@ -68,6 +68,6 @@ def test_generalized_conditional_gradient():
def test_solve_1d_linesearch_quad_funct():
- np.testing.assert_allclose(ot.optim.solve_1d_linesearch_quad_funct(1, -1, 0), 0.5)
- np.testing.assert_allclose(ot.optim.solve_1d_linesearch_quad_funct(-1, 5, 0), 0)
- np.testing.assert_allclose(ot.optim.solve_1d_linesearch_quad_funct(-1, 0.5, 0), 1)
+ np.testing.assert_allclose(ot.optim.solve_1d_linesearch_quad(1, -1, 0), 0.5)
+ np.testing.assert_allclose(ot.optim.solve_1d_linesearch_quad(-1, 5, 0), 0)
+ np.testing.assert_allclose(ot.optim.solve_1d_linesearch_quad(-1, 0.5, 0), 1)