From 56286f69ee5891f9cb8cd28f16e654d14adc47ed Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Thu, 16 Nov 2023 12:20:35 -0600 Subject: [PATCH] Fix a merge issue with min_max.rs --- src/rust/lts_client/src/collector/collation/min_max.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust/lts_client/src/collector/collation/min_max.rs b/src/rust/lts_client/src/collector/collation/min_max.rs index 1600036f0..6b6b009f6 100644 --- a/src/rust/lts_client/src/collector/collation/min_max.rs +++ b/src/rust/lts_client/src/collector/collation/min_max.rs @@ -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 } } }