summaryrefslogtreecommitdiff
path: root/ot
diff options
context:
space:
mode:
authoraje <leo_g_autheron@hotmail.fr>2017-08-29 17:01:17 +0200
committerNicolas Courty <Nico@MacBook-Pro-de-Nicolas.local>2017-09-01 11:09:13 +0200
commit0f7cd9237f8ac3596c0a7dfdd4d543345a34ae6b (patch)
treec2d7474701a3bf78790be8253aaa444a20047f10 /ot
parentb5629270b07499524072053530a993b1c52c1a1a (diff)
Type print
Diffstat (limited to 'ot')
-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 ed8c416..6039e1f 100644
--- a/ot/lp/emd_wrap.pyx
+++ b/ot/lp/emd_wrap.pyx
@@ -75,7 +75,7 @@ def emd_c( np.ndarray[double, ndim=1, mode="c"] a,np.ndarray[double, ndim=1, mod
cdef int resultSolver = EMD_wrap(n1,n2,<double*> a.data,<double*> b.data,<double*> M.data,<double*> G.data,<double*> &cost, numItermax)
if resultSolver != OPTIMAL:
if resultSolver == INFEASIBLE:
- print("Problem infeasible. Try to inscrease numItermax.")
+ print("Problem infeasible. Try to increase numItermax.")
elif resultSolver == UNBOUNDED:
print("Problem unbounded")