summaryrefslogtreecommitdiff
path: root/src/python/gudhi/hera/wasserstein.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/gudhi/hera/wasserstein.cc')
-rw-r--r--src/python/gudhi/hera/wasserstein.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/hera/wasserstein.cc b/src/python/gudhi/hera/wasserstein.cc
index 8c731530..77c1413a 100644
--- a/src/python/gudhi/hera/wasserstein.cc
+++ b/src/python/gudhi/hera/wasserstein.cc
@@ -27,7 +27,7 @@ py::object wasserstein_distance(
double wasserstein_power, double internal_p,
double delta, bool return_matching)
{
- // I *think* the call to request() has to be before releasing the GIL.
+ // I *think* the call to request() in numpy_to_range_of_pairs has to be before releasing the GIL.
auto diag1 = numpy_to_range_of_pairs(d1, make_hera_point);
auto diag2 = numpy_to_range_of_pairs(d2, make_hera_point);
int n1 = boost::size(diag1);