-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUG: np.cov transpose control #27661
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - thanks!
Does this have a chance of breaking existing (bad) code in odd ways? (I.e. should we add a release note and consider probably not backport?) |
The bug has existed for 19 years (I tracked the behavior to 959f36c via |
I agree, let's add a release note and then merge this. |
* Fixes numpy#27658 * Use a more sensible filter for controlling the decision to transpose the design matrix received by `np.cov`. * Add a release note.
ea81e9c
to
e003e82
Compare
Thanks Tyler and Jake! |
Fixes BUG: np.cov with rowvar=False returns the wrong shape for N=1 #27658
Use a more sensible filter for controlling the decision to transpose the design matrix received by
np.cov
.