From a7acd5b8329d05bb13ab6b4dc4329fa745a9d646 Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Thu, 1 Nov 2018 10:20:19 +0100 Subject: [PATCH] Fix missing type annotation. --- src/geometry/translation_construction.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/geometry/translation_construction.rs b/src/geometry/translation_construction.rs index d55c43c2..a973603d 100644 --- a/src/geometry/translation_construction.rs +++ b/src/geometry/translation_construction.rs @@ -66,7 +66,8 @@ where { #[inline] fn arbitrary(rng: &mut G) -> Self { - Self::from(Arbitrary::arbitrary(rng)) + let v: VectorN = Arbitrary::arbitrary(rng); + Self::from(v) } }