Skip to content

Commit 1030fc2

Browse files
committed
DOC: Fix ci for column_standardize
1 parent a72b719 commit 1030fc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/column_standardize.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use ndarray::prelude::*;
22

3+
#[cfg(feature = "std")]
34
fn main() {
45
// This example recreates the following from python/numpy
56
// counts -= np.mean(counts, axis=0)
@@ -19,3 +20,6 @@ fn main() {
1920
println!("New mean:\n{:8.4}", data.mean_axis(Axis(0)).unwrap());
2021
println!("New std: \n{:8.4}", data.std_axis(Axis(0), 0.));
2122
}
23+
24+
#[cfg(not(feature = "std"))]
25+
fn main() {}

0 commit comments

Comments
 (0)