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

Raise an error if bin_edges is called for unevenly spaced centers #816

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rosteen
Copy link
Contributor

@rosteen rosteen commented Apr 28, 2021

Addresses #809. I could be convinced that this should just be a warning instead of an error, but I think since the calculated bin edges don't reproduce the input centers we should error and not return them at all. See the linked issue for a little more discussion of why I didn't just implement a better edge calculation algorithm.

@pllim
Copy link
Member

pllim commented Jun 3, 2021

CI is failing and needs to be fixed.

@dhomeier
Copy link
Contributor

Probably needs to be rebased as some tests were generally failing at the time, but this test looks very unfinished!

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.

None yet

3 participants