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: avoid divide-by-zero runtime warning from np.log10 in AMRKDTree.get_brick_data #4586

Merged

Conversation

neutrinoceros
Copy link
Member

reprod: python -Werror doc/source/cookbook/render_two_fields.py

note that with numpy>=1.25.0, #4585 also gets in the way

@neutrinoceros neutrinoceros added this to the 4.2.2 milestone Jul 20, 2023
@neutrinoceros neutrinoceros added bug and removed bug labels Jul 20, 2023
Copy link
Member

@matthewturk matthewturk left a comment

Choose a reason for hiding this comment

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

I thought we had a separate NaN filter, but this looks fine. MAybe that was yt_idv.

@neutrinoceros neutrinoceros merged commit 50637fe into yt-project:main Jul 21, 2023
12 checks passed
@neutrinoceros neutrinoceros deleted the avoid_divide_by_zero_warning branch July 21, 2023 13:25
meeseeksmachine pushed a commit to meeseeksmachine/yt that referenced this pull request Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants