FREQUENCIES: Fix percentiles and median calculation for multiple variables.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Jan 2022 19:01:00 +0000 (11:01 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Jan 2022 19:03:26 +0000 (11:03 -0800)
commitac2d33db9ccd3c7c2b35aca2a731fbc55b6fd5da
tree598259fb613a1d9c4c3da7331746a94da1a82648
parent56fc407a19b93a622be43a196fca0eabac148023
FREQUENCIES: Fix percentiles and median calculation for multiple variables.

The calculations here were using the same space each time for
calculating percentiles and median, but different areas are needed.  This
commit fixes the problem.

Bug #60728.
Thanks to elias tsolis for reporting the problem.
src/language/stats/frequencies.c
tests/language/stats/frequencies.at