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

Differentiate any axis, not just 0 or 1 #41

Merged
merged 3 commits into from
May 14, 2024

Conversation

Jacob-Stevens-Haas
Copy link
Collaborator

Hey andy, this PR fixes #40. Implemented via _align_axes() and _restore_axes(), as suggested. Added a 3D version to the shape test.

I started to use type annotations that are available only in 3.9
Since 3.8 reaches end of life in october and new versions of numpy
are targetting 3.9, I think it's safe to upgrade the minimum
version here.
Copy link
Owner

@andgoldschmidt andgoldschmidt left a comment

Choose a reason for hiding this comment

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

Thanks! We can also increment a minor version number with the Python 3.7 -> 3.9 change and release.

@andgoldschmidt andgoldschmidt merged commit b406f7a into andgoldschmidt:master May 14, 2024
2 checks passed
@Jacob-Stevens-Haas Jacob-Stevens-Haas deleted the diff-anyaxis branch May 14, 2024 06:59
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.

Differentiation in arrays where len(X.shape)>2?
2 participants