diff --git a/multispaeti/_multispati_pca.py b/multispaeti/_multispati_pca.py index 34c4dea..434b7d3 100644 --- a/multispaeti/_multispati_pca.py +++ b/multispaeti/_multispati_pca.py @@ -127,7 +127,7 @@ def _validate_n_components(self, n: int, d: int): "`n_components` should be less than minimum of " "#samples and #features. Using all components." ) - self._n_components = None + self._n_components = None elif isinstance(self.n_components, tuple) and len(self.n_components) == 2: if any( not isinstance(i, int) or i < 0 for i in self.n_components