This commit is contained in:
king6cong 2017-02-27 11:18:11 +08:00
parent 60a0edc6c2
commit c01a6fec8c

View file

@ -264,8 +264,8 @@ impl Stats for [f64] {
local_sort(&mut tmp);
let first = 25f64;
let a = percentile_of_sorted(&tmp, first);
let secound = 50f64;
let b = percentile_of_sorted(&tmp, secound);
let second = 50f64;
let b = percentile_of_sorted(&tmp, second);
let third = 75f64;
let c = percentile_of_sorted(&tmp, third);
(a, b, c)