From 4ad650bc3184f57e1dda91f6b0a6358830f0562f Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Mon, 20 Apr 2020 19:42:34 +0200 Subject: Drop one comment --- src/python/gudhi/wasserstein/wasserstein.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/python/gudhi/wasserstein') diff --git a/src/python/gudhi/wasserstein/wasserstein.py b/src/python/gudhi/wasserstein/wasserstein.py index 5b61d176..42c8dc2d 100644 --- a/src/python/gudhi/wasserstein/wasserstein.py +++ b/src/python/gudhi/wasserstein/wasserstein.py @@ -167,7 +167,6 @@ def wasserstein_distance(X, Y, matching=False, order=2., internal_p=2., enable_a dists.append(_perstot_autodiff(Y_orig[diag2], order, internal_p)) dists = [dist.reshape(1) for dist in dists] return ep.concatenate(dists).norms.lp(order).raw - # Should just compute the L^order norm manually? # We can also concatenate the 3 vectors to compute just one norm. # Comptuation of the otcost using the ot.emd2 library. -- cgit v1.2.3