Skip to content

Commit

Permalink
Fix clippy::legacy_numeric_constants lint (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Oct 29, 2024
1 parent 36ce13e commit 3974a40
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 3974a40

Please sign in to comment.