diff options
author | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-08-05 15:03:50 +0200 |
---|---|---|
committer | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-08-05 15:03:50 +0200 |
commit | 69198e9a00648aa5f8f38e1cef2c7bd6b7299dbb (patch) | |
tree | aff338aeb2308b6f5315e31458dc22772584cb46 /src | |
parent | e438466425ca7eda228a51a92f25e47abd8a991f (diff) |
code review: transform rtype was not correct
Diffstat (limited to 'src')
-rw-r--r-- | src/python/gudhi/sklearn/cubical_persistence.py | 2 |
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') |