Skip to content

Commit 49683b1

Browse files
add support for accessor arrays
1 parent 834a333 commit 49683b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/stats/base/cumax/lib/accessors.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' );
4747
* var y = toAccessorArray( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
4848
*
4949
* var v = cumax( 4, arraylike2object( x ), 2, 1, arraylike2object( y ), 1, 0 );
50-
* // returns [ 1.0, 1.0, 2.0, 4.0, 0.0, 0.0, 0.0, 0.0 ]
50+
* console.log( x );
51+
* // => [ 1.0, 1.0, 2.0, 4.0, 0.0, 0.0, 0.0, 0.0 ]
5152
*/
5253
function cumax( N, x, strideX, offsetX, y, strideY, offsetY ) {
5354
var xbuf;

0 commit comments

Comments
 (0)