dualfroz 85d956c08c fix: propagate error from Quartile for inputs too small for quartiles
Quartile computed the median of empty slices for inputs with fewer than
three elements and discarded the resulting error, returning NaN quartiles
with a nil error. The silent NaN then leaked into InterQuartileRange,
Midhinge and Trimean. Propagate the error instead, mirroring the existing
EmptyInputErr handling.
2026-09-06 00:42:21 +02:00
S
Description
My contributions to montanaflynn/stats: 3 commits, 1 merged PRs
70 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%