Closed henryiii closed 3 years ago
Unrelated: Why is weighted_mean& operator*
not noexcept? Simple omission or intentional design?
Exaclty the same fix fixes WeighedMean. I've fixed it in https://github.com/scikit-hep/boost-histogram/pull/537 - I can apply the same fix here if you'd like, @HDembinski, or you can do it, whatever you think is faster/easier to get in.
I suspected as much, but planned to implement this later.
Taken care of in #311 also the missing noexcept that you found.
The same issue fixed in #308 with
mean
seems to be present inweighted_mean
, as well: