85d956c08c8d3ffbd527ef247753cfd7d38bd8bd
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.
Description
My contributions to montanaflynn/stats: 3 commits, 1 merged PRs
70 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
100%