We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adef586 commit f998a62Copy full SHA for f998a62
1 file changed
src/impl_views/splitting.rs
@@ -51,7 +51,7 @@ where
51
/// ```rust
52
/// # use ndarray::prelude::*;
53
/// # let a = aview2(&[[0; 4]; 3]);
54
- /// let (v1, v2) = a.split_at(Axis(0), 1);
+ /// let (v1, v2) = a.split_at(Axis(0), 2);
55
/// ```
56
/// ```text
57
/// ┌─────┬─────┬─────┬─────┐ 0 ↓ indices
0 commit comments