diff options
author | Antoine Rolet <antoine.rolet@gmail.com> | 2017-09-09 18:23:05 +0900 |
---|---|---|
committer | Antoine Rolet <antoine.rolet@gmail.com> | 2017-09-09 18:23:05 +0900 |
commit | 06429e5a34790ec51eb1c921293b24c37b81b952 (patch) | |
tree | d4c8a5fcf9eea901a0f39c79f2e61d3f11d8c9f4 /test/test_ot.py | |
parent | 8cc04ef5ae8806c81811b2081b1880b46ca063a3 (diff) |
Returned to old variable name to follow repo convention
Diffstat (limited to 'test/test_ot.py')
-rw-r--r-- | test/test_ot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ot.py b/test/test_ot.py index 46fc634..e05e8aa 100644 --- a/test/test_ot.py +++ b/test/test_ot.py @@ -140,8 +140,8 @@ def test_warnings(): with warnings.catch_warnings(record=True) as w: warnings.simplefilter("always") print('Computing {} EMD '.format(1)) - ot.emd(a, b, M, max_iter=1) - assert "max_iter" in str(w[-1].message) + ot.emd(a, b, M, num_iter_max=1) + assert "num_iter_max" in str(w[-1].message) assert len(w) == 1 a[0] = 100 print('Computing {} EMD '.format(2)) |