summaryrefslogtreecommitdiff
path: root/test/test_ot.py
diff options
context:
space:
mode:
authorAntoine Rolet <antoine.rolet@gmail.com>2017-09-09 17:38:31 +0900
committerAntoine Rolet <antoine.rolet@gmail.com>2017-09-09 17:38:31 +0900
commitcd8c04246b6d1f15b68d6433741e8c808fd517d8 (patch)
treeaf45a723fb29644b7be75b20db48bf238cdf6296 /test/test_ot.py
parent1ba2c837d54ce963ad63ddf8df2e47230800b747 (diff)
Renamed variable
Diffstat (limited to 'test/test_ot.py')
-rw-r--r--test/test_ot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ot.py b/test/test_ot.py
index c9b5154..ca921c5 100644
--- a/test/test_ot.py
+++ b/test/test_ot.py
@@ -140,7 +140,7 @@ def test_warnings():
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")
print('Computing {} EMD '.format(1))
- ot.emd(a, b, M, num_iter_max=1)
+ ot.emd(a, b, M, max_iter=1)
assert "numItermax" in str(w[-1].message)
assert len(w) == 1
a[0] = 100