From 6a4323d0ea66e2641edb40b5b1a64e3ae16549a9 Mon Sep 17 00:00:00 2001 From: George Burton Date: Tue, 18 Dec 2018 14:46:29 +0000 Subject: [PATCH] Fix unintentional change --- src/geometry/rotation_specialization.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geometry/rotation_specialization.rs b/src/geometry/rotation_specialization.rs index 960b3a4e..ac7f4d63 100644 --- a/src/geometry/rotation_specialization.rs +++ b/src/geometry/rotation_specialization.rs @@ -568,7 +568,7 @@ impl Rotation3 { /// # use nalgebra::{Unit, Rotation3, Vector3}; /// let axis = Unit::new_normalize(Vector3::new(1.0, 2.0, 3.0)); /// let rot = Rotation3::from_axis_angle(&axis, 1.78); - /// assert_eq!(rot.angle(), 1.78); + /// assert_relative_eq!(rot.angle(), 1.78); /// ``` #[inline] pub fn angle(&self) -> N {