Skip to content

Commit

Permalink
Remove unnecessary return
Browse files Browse the repository at this point in the history
  • Loading branch information
keithtensor committed Jul 1, 2024
1 parent 24defc5 commit fa55e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/src/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit fa55e84

Please sign in to comment.