Skip to content

helpers: avoid mutation in invertible_matrices #201

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

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

jakevdp
Copy link
Contributor

@jakevdp jakevdp commented Nov 13, 2023

Part of the fix for #188

@jakevdp jakevdp force-pushed the fix-invertible-matrices branch from 9718896 to bd4ab55 Compare November 13, 2023 22:46
@asmeurer
Copy link
Member

This looks fine. Generally I wouldn't want to make use of so many array functions in a strategy, but for the linalg strategies it's unavoidable and really not a problem to assume everything else works there.

@jakevdp jakevdp force-pushed the fix-invertible-matrices branch from bd4ab55 to 3d71a51 Compare November 13, 2023 23:01
@jakevdp
Copy link
Contributor Author

jakevdp commented Nov 13, 2023

CI errors are due to using an old version of NumPy; hopefully #202 will fix it.

@honno honno force-pushed the fix-invertible-matrices branch from 3d71a51 to 7ce7b28 Compare November 14, 2023 15:33
@honno honno requested a review from asmeurer November 15, 2023 18:45
@jakevdp
Copy link
Contributor Author

jakevdp commented Dec 5, 2023

Let me know if there's anything to be done here – the reliance on in-place mutation in the test infrastructure here and elsewhere necessetates us skipping this test in JAX, so we don't have any test coverage for the associated linear algebra APIs.

@kgryte
Copy link

kgryte commented Dec 5, 2023

@honno @asmeurer Is there anything blocking getting this merged?

@honno honno force-pushed the fix-invertible-matrices branch from 7ce7b28 to f81c3a2 Compare December 15, 2023 17:53
Copy link
Member

@honno honno left a comment

Choose a reason for hiding this comment

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

LGTM thanks.

@honno honno merged commit 8d4ccd6 into data-apis:master Dec 15, 2023
@jakevdp jakevdp deleted the fix-invertible-matrices branch December 15, 2023 18:35
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 this pull request may close these issues.

4 participants