Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FutureWarning: rcond parameter #10

Closed
andrewfowlie opened this issue Sep 17, 2018 · 0 comments · Fixed by #11
Closed

FutureWarning: rcond parameter #10

andrewfowlie opened this issue Sep 17, 2018 · 0 comments · Fixed by #11

Comments

@andrewfowlie
Copy link
Contributor

/CosmoTransitions/cosmoTransitions/pathDeformation.py:303: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
  self._beta, residues, rank, s = np.linalg.lstsq(self._X, phi)

This is for numpy.__version__ '1.15.1'. Should be easy to silence, might push it later, as there are only two instances,

https://github.com/clwainwright/CosmoTransitions/search?q=np.linalg.lstsq&unscoped_q=np.linalg.lstsq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant