summaryrefslogtreecommitdiff
path: root/src/python/gudhi
diff options
context:
space:
mode:
authorVincent Rouvreau <vincent.rouvreau@inria.fr>2022-08-05 15:03:50 +0200
committerVincent Rouvreau <vincent.rouvreau@inria.fr>2022-08-05 15:03:50 +0200
commit69198e9a00648aa5f8f38e1cef2c7bd6b7299dbb (patch)
treeaff338aeb2308b6f5315e31458dc22772584cb46 /src/python/gudhi
parente438466425ca7eda228a51a92f25e47abd8a991f (diff)
code review: transform rtype was not correct
Diffstat (limited to 'src/python/gudhi')
-rw-r--r--src/python/gudhi/sklearn/cubical_persistence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/sklearn/cubical_persistence.py b/src/python/gudhi/sklearn/cubical_persistence.py
index 9ef48fd8..672af278 100644
--- a/src/python/gudhi/sklearn/cubical_persistence.py
+++ b/src/python/gudhi/sklearn/cubical_persistence.py
@@ -93,7 +93,7 @@ class CubicalPersistence(BaseEstimator, TransformerMixin):
- If `homology_dimensions` was set to `n`: `[array( Hn(X[0]) ), array( Hn(X[1]) ), ...]`
- If `homology_dimensions` was set to `[i, j]`: `[[array( Hi(X[0]) ), array( Hj(X[0]) )], [array( Hi(X[1]) ), array( Hj(X[1]) )], ...]`
- :rtype: list of tuple or list of list of tuple
+ :rtype: list of (,2) array_like or list of list of (,2) array_like
"""
if self.newshape is not None:
X = np.reshape(X, self.newshape, order='C')