diff --git a/src/geometry/quaternion.rs b/src/geometry/quaternion.rs index 9a4546bb3..18c6a80d6 100644 --- a/src/geometry/quaternion.rs +++ b/src/geometry/quaternion.rs @@ -271,7 +271,7 @@ where /// ``` /// # use nalgebra::Quaternion; /// let q = Quaternion::new(1.0, 2.0, 3.0, 4.0); - /// assert_eq!(q.magnitude_squared(), 30.0); + /// assert_eq!(q.norm_squared(), 30.0); /// ``` #[inline] #[must_use]