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

BUG: fix a regression where np.linspace's num argument would be ignored for unyt_arrays #553

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Dec 25, 2024

This fixes a regression I overlooked when reviewing #544 but poped up in yt's test suite yt-project/yt#5091

for posterity: this regression never landed in a release.

@neutrinoceros neutrinoceros added the bug Something isn't working label Dec 25, 2024
@neutrinoceros neutrinoceros changed the title BUG: fix a regression where np.linspace's num argument would be ignored for unyt_arrays BUG: fix a regression where np.linspace's num argument would be ignored for unyt_arrays Dec 25, 2024
@neutrinoceros neutrinoceros added this to the 3.0.4 milestone Dec 25, 2024
@neutrinoceros
Copy link
Member Author

Since the fix is so trivial (I really should have caught the bug in my review) and the bug affects downstream, I'll exceptionally self-merge for this one.

@neutrinoceros neutrinoceros marked this pull request as ready for review December 25, 2024 17:22
@neutrinoceros neutrinoceros changed the title BUG: fix a regression where np.linspace's num argument would be ignored for unyt_arrays BUG: fix a regression where np.linspace's num argument would be ignored for unyt_arrays Dec 25, 2024
@neutrinoceros neutrinoceros merged commit bf8e8ac into yt-project:main Dec 25, 2024
9 checks passed
@neutrinoceros neutrinoceros deleted the bug/fix_linspace_num branch December 25, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant