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

Fix to_events when bins in the input have unsorted edges #172

Merged
merged 3 commits into from
Jan 30, 2025
Merged

Conversation

nvaytet
Copy link
Member

@nvaytet nvaytet commented Jan 29, 2025

No description provided.

Comment on lines 55 to 56
low = np.where(nans, 0.0, low)
high = np.where(nans, 0.0, high)
Copy link
Member

Choose a reason for hiding this comment

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

Had trouble understanding the logic around the change. Should low and high actually be left and right (bin edge), until the added lines?

Copy link
Member Author

Choose a reason for hiding this comment

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

It should probably be left and right everywhere...

@nvaytet nvaytet merged commit 5789298 into main Jan 30, 2025
3 checks passed
@nvaytet nvaytet deleted the to-events-fix branch January 30, 2025 11:51
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.

2 participants