mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-26 02:00:15 -06:00
Fix a merge issue with min_max.rs
This commit is contained in:
parent
affde610ba
commit
56286f69ee
@ -44,10 +44,10 @@ impl<
|
||||
values.sort();
|
||||
let length = values.len();
|
||||
let median = if length == 0 { T::zero() } else {
|
||||
values[length/2]
|
||||
median(&values)
|
||||
};
|
||||
|
||||
Self { max, min, avg: median(stats): median }
|
||||
Self { max, min, avg: median }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user