-
Notifications
You must be signed in to change notification settings - Fork 23
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: make non-uniform rebinning work for Weight()
and friends
#972
Conversation
@Saransh-cpp I'll let you merge in the event there's any final small things you wanted to get in here. |
Thanks! I don't have merge/write access to boost-histogram. Please feel free to merge :) |
Ah okay I'll also ask @henryiii for review and merge then. |
Are all the fields addable? That is, for every type, can you just directly add the fields? For example, for the Mean storage, this is the definition of boost-histogram/include/bh_python/accumulators/mean.hpp Lines 61 to 77 in df21e44
I think we can just use this, though, by exposing it via a ufunc. I'm looking at this soon, but got distracted updating and fixing things in #973. |
6a8d09d
to
0d02fcf
Compare
Fixed. Thanks! |
Thanks @henryiii and @Saransh-cpp! Would it be possible to get a patch release with this out? |
1.5.1 is out. :) |
Fixes #971
Uses View's addition when adding the views during non-uniform rebinning.