Skip to content

Conversation

@mhvk
Copy link
Contributor

@mhvk mhvk commented Oct 27, 2019

Trying to complete coverage in the nick of time, here's overrides and tests for np.linalg.

fixes #8622

Also adds two further tests for np.fft routines that are not wrapped (and always worked well), and fixes a bug in np.diag

mhvk added 2 commits October 27, 2019 18:05
Also fix a bug in construction of a diagonal array with np.diag.
@mhvk mhvk added units Bug Affects-dev PRs and issues that do not impact an existing Astropy release Enhancement labels Oct 27, 2019
@mhvk mhvk added this to the v4.0 milestone Oct 27, 2019
Copy link
Member

@astrofrog astrofrog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me but @adrn should review this if possible

Copy link
Member

@adrn adrn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @mhvk, this is great!

Copy link
Member

@adrn adrn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, actually, I now wonder if this should get a changelog entry, or a note in the documentation?

@mhvk
Copy link
Contributor Author

mhvk commented Oct 29, 2019

@adrn - this will be part of the general what's-new and changelog entry that we support numpy functions.

@adrn
Copy link
Member

adrn commented Oct 29, 2019

Got it. Given that, I'm happy with this!

@adrn adrn merged commit fc0e97e into astropy:master Oct 29, 2019
@mhvk mhvk deleted the quantity-linalg-overrides branch October 29, 2019 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Affects-dev PRs and issues that do not impact an existing Astropy release Bug Enhancement units

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Units with matrix inversion

3 participants