Fix missing type annotation.

This commit is contained in:
sebcrozet 2018-11-01 10:20:19 +01:00 committed by Sébastien Crozet
parent 2119c1adf5
commit a7acd5b832
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ where
{ {
#[inline] #[inline]
fn arbitrary<G: Gen>(rng: &mut G) -> Self { fn arbitrary<G: Gen>(rng: &mut G) -> Self {
Self::from(Arbitrary::arbitrary(rng)) let v: VectorN<N, D> = Arbitrary::arbitrary(rng);
Self::from(v)
} }
} }