From 48f8333e00f31f5211716f18fce625187cdb2fd8 Mon Sep 17 00:00:00 2001 From: thibault Date: Wed, 4 Sep 2019 20:04:15 +0900 Subject: [PATCH] Corrected typo. --- src/geometry/quaternion_construction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geometry/quaternion_construction.rs b/src/geometry/quaternion_construction.rs index 60dd92a4..3de302f5 100644 --- a/src/geometry/quaternion_construction.rs +++ b/src/geometry/quaternion_construction.rs @@ -696,7 +696,7 @@ impl UnitQuaternion { /// let q3 = UnitQuaternion::from_euler_angles(0.1, 0.0, 0.0); /// /// let quat_vec = vec![q1, q2, q3]; - /// let q_mean = UnitQuaternion::mean_of(zero_vec); + /// let q_mean = UnitQuaternion::mean_of(quat_vec); /// /// let euler_angles_mean = q_mean.euler_angles(); /// assert_relative_eq!(euler_angles_mean.0, 0.0, epsilon = 1.0e-7)