summaryrefslogtreecommitdiff
path: root/src/python/gudhi/clustering/tomato.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/gudhi/clustering/tomato.py')
-rw-r--r--src/python/gudhi/clustering/tomato.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/gudhi/clustering/tomato.py b/src/python/gudhi/clustering/tomato.py
index a5e8bcf5..5bfb9f68 100644
--- a/src/python/gudhi/clustering/tomato.py
+++ b/src/python/gudhi/clustering/tomato.py
@@ -164,6 +164,7 @@ class Tomato:
if self.density_type_ == "KDE":
weights = numpy.exp(weights)
+ # TODO: do it at the C++ level and/or in parallel if this is too slow
if self.params_.get("symmetrize_graph"):
self.neighbors_ = [set(line) for line in self.neighbors_]
for i, line in enumerate(self.neighbors_):