Skip to content

Commit 233901d

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent b573286 commit 233901d

File tree

1 file changed

+2
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/maxsorted/docs

1 file changed

+2
-4
lines changed

lib/node_modules/@stdlib/stats/base/maxsorted/docs/repl.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,13 @@
3838

3939
// Using `N` and stride parameters:
4040
> x = [ -2.0, 1.0, 1.0, -5.0, 2.0, -1.0 ];
41-
> var strideX = 2;
42-
> {{alias}}( 3, x, strideX )
41+
> {{alias}}( 3, x, 2 )
4342
2.0
4443

4544
// Using view offsets:
4645
> var x0 = new {{alias:@stdlib/array/float64}}( [ 1.0, -2.0, 3.0, 2.0, 5.0, 3.0 ] );
4746
> var x1 = new {{alias:@stdlib/array/float64}}( x0.buffer, x0.BYTES_PER_ELEMENT*1 );
48-
> strideX = 2;
49-
> {{alias}}( 3, x1, strideX )
47+
> {{alias}}( 3, x1, 2 )
5048
3.0
5149

5250

0 commit comments

Comments
 (0)