summaryrefslogtreecommitdiff
path: root/ot
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2019-12-18 10:48:58 +0100
committerRémi Flamary <remi.flamary@gmail.com>2019-12-18 10:48:58 +0100
commitfc6afbd19e75e10b539062e012583c283750d9f6 (patch)
treeca526d9ed9cc4e8a64ed75439539d961ee058246 /ot
parentd97f81dd731c4b1132939500076fd48c89f19d1f (diff)
correct documentation in pyx file
Diffstat (limited to 'ot')
-rw-r--r--ot/lp/emd_wrap.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot/lp/emd_wrap.pyx b/ot/lp/emd_wrap.pyx
index 636a9e3..3220d12 100644
--- a/ot/lp/emd_wrap.pyx
+++ b/ot/lp/emd_wrap.pyx
@@ -79,8 +79,8 @@ def emd_c(np.ndarray[double, ndim=1, mode="c"] a, np.ndarray[double, ndim=1, mod
max_iter : int
The maximum number of iterations before stopping the optimization
algorithm if it has not converged.
- sparse : bool
- Returning a sparse transport matrix if set to True
+ dense : bool
+ Return a sparse transport matrix if set to False
Returns
-------