Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spectral/algorithms/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,9 +745,9 @@ def cov(self, C):

@property
def inv_cov(self):
'''Property method returning the inverse of the covariance matrix.'''
'''Property method returning the pseudo-inverse of the covariance matrix.'''
if self._inv_cov is None:
self._inv_cov = np.linalg.inv(self._cov)
self._inv_cov = np.linalg.pinv(self._cov)
return self._inv_cov

def reset_derived_stats(self):
Expand Down
Loading