Skip to content

Commit 7c11c3f

Browse files
committed
Drop type annotation from example
1 parent bc04976 commit 7c11c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/eigh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use ndarray_linalg::*;
66

77
fn main() {
88
let a = arr2(&[[3.0, 1.0, 1.0], [1.0, 3.0, 1.0], [1.0, 1.0, 3.0]]);
9-
let (e, vecs): (Array1<_>, Array2<_>) = a.clone().eigh(UPLO::Upper).unwrap();
9+
let (e, vecs) = a.clone().eigh(UPLO::Upper).unwrap();
1010
println!("eigenvalues = \n{:?}", e);
1111
println!("V = \n{:?}", vecs);
1212
let av = a.dot(&vecs);

0 commit comments

Comments
 (0)