Closed lyon-fnal closed 3 years ago
That was a silly oversight...thanks for catching it and putting up a fix!
Awesome! Thanks!
Would you consider making a release (maybe 1.5.7) with this fix? You've got some other nice changes too that may be nice to get out there. Thanks!
Thanks for the nudge...could've sworn I did this already...
Thanks and no worries!
I remember this quote, but not the source... "I'm not worried about forgetting things that have happened. What worries me are things that never happened that I remember vividly!" :-)
Hi - When I merge two histograms (
Hist
), the "n" for the merged histogram is not the sum of the "ns" for the two original histograms. This is because while merge adds thecounts
arrays, it does not add theout
arrays. Sincen = sum(counts) + sum(out)
and out is only from one of the histograms, the n for the merged histogram is incorrect.Was this intentional or an oversight? If the latter, it's an easy fix. Do you want me to make a pull request?
Thanks! -- Adam