From fa55e84949cdee10b01887a8c7d102badcdd8c32 Mon Sep 17 00:00:00 2001 From: Keith Date: Mon, 1 Jul 2024 17:05:40 +0200 Subject: [PATCH] Remove unnecessary return --- pallets/subtensor/src/math.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/subtensor/src/math.rs b/pallets/subtensor/src/math.rs index 217c8adef..57d803f5e 100644 --- a/pallets/subtensor/src/math.rs +++ b/pallets/subtensor/src/math.rs @@ -899,7 +899,7 @@ pub fn weighted_median( return pivot; } } - return I32F32::from_num(0); + I32F32::from_num(0) } /// Column-wise weighted median, e.g. stake-weighted median scores per server (column) over all validators (rows).