summaryrefslogtreecommitdiff
path: root/ot/lp/emd_wrap.pyx
diff options
context:
space:
mode:
authorAntoine Rolet <antoine.rolet@gmail.com>2017-09-09 18:23:05 +0900
committerAntoine Rolet <antoine.rolet@gmail.com>2017-09-09 18:23:05 +0900
commit06429e5a34790ec51eb1c921293b24c37b81b952 (patch)
treed4c8a5fcf9eea901a0f39c79f2e61d3f11d8c9f4 /ot/lp/emd_wrap.pyx
parent8cc04ef5ae8806c81811b2081b1880b46ca063a3 (diff)
Returned to old variable name to follow repo convention
Diffstat (limited to 'ot/lp/emd_wrap.pyx')
-rw-r--r--ot/lp/emd_wrap.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/lp/emd_wrap.pyx b/ot/lp/emd_wrap.pyx
index 2fcc0e4..45fc988 100644
--- a/ot/lp/emd_wrap.pyx
+++ b/ot/lp/emd_wrap.pyx
@@ -29,7 +29,7 @@ def check_result(result_code):
elif result_code == UNBOUNDED:
message = "Problem unbounded"
elif result_code == MAX_ITER_REACHED:
- message = "max_iter reached before optimality. Try to increase max_iter."
+ message = "num_iter_max reached before optimality. Try to increase num_iter_max."
warnings.warn(message)
return message