4bf1fbf3b8543084d68a5bfab59614ed5e4dd94d
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%