Skip to content

Commit 75e033c

Browse files
committed
Drop rand restriction (#143)
1 parent 9a6a100 commit 75e033c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/arnoldi.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ impl<A: Scalar + Lapack> MGS<A> {
6868
mod tests {
6969
use super::*;
7070
use crate::assert::*;
71-
use rand::{distributions::Standard, prelude::*};
7271

7372
const N: usize = 5;
7473

@@ -79,10 +78,7 @@ mod tests {
7978
assert_eq!(mgs.len(), 0);
8079
}
8180

82-
fn test<A: Scalar + Lapack>(rtol: A::Real)
83-
where
84-
Standard: Distribution<A>,
85-
{
81+
fn test<A: Scalar + Lapack>(rtol: A::Real) {
8682
let mut mgs: MGS<A> = MGS::new(N);
8783
let a: Array2<A> = crate::generate::random((N, 3));
8884
dbg!(&a);

0 commit comments

Comments
 (0)