Skip to content

Commit 3fc3d44

Browse files
committed
docs: fix example
1 parent 6fda483 commit 3fc3d44

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/slice-dimension-from/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/slice-dimension-from/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* var arr = ndarray2array( x );
4343
* // returns [ [ 1.0, 2.0 ], [ 3.0, 4.0 ], [ 5.0, 6.0 ] ]
4444
*
45-
* var y = sliceDimensionFrom( x, 0, 2, false, false );
45+
* var y = sliceDimensionFrom( x, 0, 1, false, false );
4646
* // returns <ndarray>
4747
*
4848
* sh = y.shape;

0 commit comments

Comments
 (0)