You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reject adding values with non-positive counts
Commit 9b9d6c8 added the <value,count> API, but the count parameter was
checked with just an assert. That's not appropriate for values supplied
by users (we need to report the error), and moreover it's not present in
production builds. Fixed by calling regular elog(ERROR).
Issue reported by Ahmet Gedemenli (agedemenli), fix by me.
Fix out of bounds access in tdigest_compute_quantiles
For extreme percentiles (close to 0.0 or 1.0) the code might fail due
to out of bounds access to the centroids array. The proper fix is to
return the mean of the first/last centroid.