Skip to content

Commit

Permalink
fix: resolve PR concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML committed Feb 2, 2025
1 parent 086e032 commit d64dda0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/utils/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ pub fn max_radius_parser(max_radius_str: &str) -> Result<Distance, String> {
));
}

// If the max radius is 100%, return the maximum distance as without it we will be 35 less than
// the maximum distance.
// If the max radius is 100% return it, as arithmetic multiplication loses precision and will be
// off by 5.
if max_radius_percentage == U256::from(100) {
return Ok(Distance::MAX);
}
Expand Down

0 comments on commit d64dda0

Please sign in to comment.