From 8e90e2adf75412ce6ab39ac8ab2dfb8dff185256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sat, 7 Jul 2018 03:30:47 -0700 Subject: [PATCH] Use StandardNormal on rand::distributions. --- src/base/construction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/construction.rs b/src/base/construction.rs index 5aaa3a03..49da1d5b 100644 --- a/src/base/construction.rs +++ b/src/base/construction.rs @@ -5,7 +5,7 @@ use quickcheck::{Arbitrary, Gen}; use num::{Bounded, One, Zero}; #[cfg(feature = "std")] -use rand::{self, StandardNormal}; +use rand::{self, distributions::StandardNormal}; use rand::distributions::{Distribution, Standard}; use rand::Rng; use std::iter;