From b73180e908f63c2e1bdfdacfdff59a82127839d9 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Fri, 14 Apr 2017 23:35:52 +1000 Subject: [PATCH] Workaround compilation error on nightly rust --- src/quaternion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quaternion.rs b/src/quaternion.rs index 4a0888b..5fe0271 100644 --- a/src/quaternion.rs +++ b/src/quaternion.rs @@ -630,7 +630,7 @@ impl Rotation> for Quaternion { // same direction if ulps_eq!(k_cos_theta, S::one()) { - return Quaternion::one(); + return Quaternion::::one(); } let k = (a.magnitude2() * b.magnitude2()).sqrt();