Skip to content

Commit

Permalink
fix(psestimation): update deprecated 'rcond' argument for 'pinv'
Browse files Browse the repository at this point in the history
  • Loading branch information
ljgray committed Jun 25, 2024
1 parent cc859e0 commit 8def16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drift/core/psestimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def generate(self, regen=False):
# Check to see ensure that Fisher matrix isn't all zeros.
if not (self.fisher == 0).all():
# Generate derived quantities (covariance, errors..)
cv = la.pinv(self.fisher, rcond=1e-8)
cv = la.pinv(self.fisher, atol=1e-8)
err = cv.diagonal() ** 0.5
cr = cv / np.outer(err, err)
else:
Expand Down

0 comments on commit 8def16f

Please sign in to comment.