diff --git a/src/geometry/rotation_specialization.rs b/src/geometry/rotation_specialization.rs index 45db03528..a464d38a8 100644 --- a/src/geometry/rotation_specialization.rs +++ b/src/geometry/rotation_specialization.rs @@ -100,7 +100,7 @@ impl Rotation2 { T: RealField, { if max_iter == 0 { - max_iter = usize::max_value(); + max_iter = usize::MAX; } let mut rot = guess.into_inner();