Skip to content

Commit

Permalink
DOC: Fix index in example for ArrayView::split_at
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Apr 29, 2020
1 parent adef586 commit f998a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl_views/splitting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ where
/// ```rust
/// # use ndarray::prelude::*;
/// # let a = aview2(&[[0; 4]; 3]);
/// let (v1, v2) = a.split_at(Axis(0), 1);
/// let (v1, v2) = a.split_at(Axis(0), 2);
/// ```
/// ```text
/// ┌─────┬─────┬─────┬─────┐ 0 ↓ indices
Expand Down

0 comments on commit f998a62

Please sign in to comment.