Skip to content

Commit

Permalink
Fix clippy::legacy_numeric_constants lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Oct 29, 2024
1 parent efb3ada commit 258dbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geometry/rotation_specialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl<T: SimdRealField> Rotation2<T> {
T: RealField,
{
if max_iter == 0 {
max_iter = usize::max_value();
max_iter = usize::MAX;
}

let mut rot = guess.into_inner();
Expand Down

0 comments on commit 258dbaf

Please sign in to comment.