Use StandardNormal only with the "std" feature.
This commit is contained in:
parent
352e71656d
commit
a1d8aba501
|
@ -5,8 +5,8 @@ use quickcheck::{Arbitrary, Gen};
|
||||||
|
|
||||||
use num::{Bounded, One, Zero};
|
use num::{Bounded, One, Zero};
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
use rand;
|
use rand::{self, StandardNormal};
|
||||||
use rand::distributions::{Distribution, Standard, StandardNormal};
|
use rand::distributions::{Distribution, Standard};
|
||||||
use rand::Rng;
|
use rand::Rng;
|
||||||
use std::iter;
|
use std::iter;
|
||||||
use typenum::{self, Cmp, Greater};
|
use typenum::{self, Cmp, Greater};
|
||||||
|
|
Loading…
Reference in New Issue