Skip to content

Commit a5114eb

Browse files
committed
Fix test namespace
1 parent f25067b commit a5114eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mgs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ impl<A: Scalar> MGS<A> {
1919
/// Create empty linear space
2020
///
2121
/// ```rust
22-
/// # use ndarray_linalg::*;
22+
/// # use ndarray_linalg::{mgs::*, *};
2323
/// const N: usize = 5;
2424
/// let mgs = MGS::<f32>::new(N);
2525
/// assert_eq!(mgs.dim(), N);
@@ -72,7 +72,7 @@ impl<A: Scalar> MGS<A> {
7272
///
7373
/// ```rust
7474
/// # use ndarray::*;
75-
/// # use ndarray_linalg::*;
75+
/// # use ndarray_linalg::{mgs::*, *};
7676
/// let mut mgs = MGS::new(3);
7777
/// let coef = mgs.append(array![0.0, 1.0, 0.0], 1e-9).unwrap();
7878
/// close_l2(&coef, &array![1.0], 1e-9);

tests/mgs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use ndarray::*;
2-
use ndarray_linalg::*;
2+
use ndarray_linalg::{mgs::*, *};
33

44
fn qr_full<A: Scalar + Lapack>() {
55
const N: usize = 5;

0 commit comments

Comments
 (0)