@@ -343,7 +343,7 @@ def emd_1d(x_a, x_b, a, b, metric='sqeuclidean', dense=True, log=False):
343343 b : (nt,) ndarray, float64
344344 Target histogram (uniform weight if empty list)
345345 metric: str, optional (default='sqeuclidean')
346- Metric to be used. Only strings listed in ... are accepted.
346+ Metric to be used. Only strings listed in :func:`ot.dist` are accepted.
347347 Due to implementation details, this function runs faster when
348348 `'sqeuclidean'`, `'cityblock'`, or `'euclidean'` metrics are used.
349349 dense: boolean, optional (default=True)
@@ -454,7 +454,7 @@ def emd2_1d(x_a, x_b, a, b, metric='sqeuclidean', dense=True, log=False):
454454 b : (nt,) ndarray, float64
455455 Target histogram (uniform weight if empty list)
456456 metric: str, optional (default='sqeuclidean')
457- Metric to be used. Only strings listed in ... are accepted.
457+ Metric to be used. Only strings listed in :func:`ot.dist` are accepted.
458458 Due to implementation details, this function runs faster when
459459 `'sqeuclidean'`, `'cityblock'`, or `'euclidean'` metrics are used.
460460 dense: boolean, optional (default=True)
0 commit comments