summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAntoine Rolet <antoine.rolet@gmail.com>2017-09-09 17:28:38 +0900
committerAntoine Rolet <antoine.rolet@gmail.com>2017-09-09 17:28:38 +0900
commit85c56d96f609c4ad458f0963a068386cc910c66c (patch)
tree92eae8a636531097e1db6569176cef6e4fd551ac /test
parentc4aca9e527b60d294fe15d7adce9236f35cb0908 (diff)
Renamed variables
Diffstat (limited to 'test')
-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 cf5839e..c9b5154 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, numItermax=1)
+ ot.emd(a, b, M, num_iter_max=1)
assert "numItermax" in str(w[-1].message)
assert len(w) == 1
a[0] = 100