Workaround compilation error on nightly rust
This commit is contained in:
parent
613d2b7f23
commit
b73180e908
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ impl<S: BaseFloat> Rotation<Point3<S>> for Quaternion<S> {
|
||||||
|
|
||||||
// same direction
|
// same direction
|
||||||
if ulps_eq!(k_cos_theta, S::one()) {
|
if ulps_eq!(k_cos_theta, S::one()) {
|
||||||
return Quaternion::one();
|
return Quaternion::<S>::one();
|
||||||
}
|
}
|
||||||
|
|
||||||
let k = (a.magnitude2() * b.magnitude2()).sqrt();
|
let k = (a.magnitude2() * b.magnitude2()).sqrt();
|
||||||
|
|
Loading…
Reference in a new issue