Update of bug #59494 (project gsl):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
The issue with n=5 has been corrected in commit
42933198abec39071c1ae1bdf2d7e3adeed233a2
For n > 5, the median calculation only produces an estimate of the true
median, not the exact median, using the algorithm of Jain and Chlamtec 1985.
The only way to compute the exact median is to store all values in an array
and use gsl_stats_median. So this is not in fact a bug in the code.
I also uploaded bug_corrected.c, which fixes some syntax errors in the
original example program.
(file #50758)
_______________________________________________________
Additional Item Attachment:
File name: bug_corrected.c Size:1 KB
<https://file.savannah.gnu.org/file/bug_corrected.c?file_id=50758>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59494>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/