Skip to content

Commit 5841891

Browse files
correct example
1 parent 26a0230 commit 5841891

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/linalg/impl_linalg.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,9 +1091,10 @@ mod blas_tests
10911091
///
10921092
/// # Examples
10931093
///
1094-
/// ```no_run
1095-
/// use ndarray::{ArrayD, Array2, Array1};
1096-
///
1094+
/// ```
1095+
/// use ndarray::ArrayD;
1096+
/// use alloc::vec;
1097+
10971098
/// // Matrix multiplication
10981099
/// let a = ArrayD::from_shape_vec(vec![2, 3], vec![1., 2., 3., 4., 5., 6.]).unwrap();
10991100
/// let b = ArrayD::from_shape_vec(vec![3, 2], vec![1., 2., 3., 4., 5., 6.]).unwrap();

0 commit comments

Comments
 (0)