Skip to content

Commit be93736

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 2198a7d commit be93736

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/ndarray/zcopy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var xbuf = new Complex128Array( discreteUniform( 10, 0, 100, opts ) );
9292
var x = new ndarray( 'complex128', xbuf, [ xbuf.length ], [ 1 ], 0, 'row-major' );
9393
console.log( ndarray2array( x ) );
9494

95-
var ybuf = new Complex128Array( discreteUniform( xbuf.length, 0, 10, opts ) );
95+
var ybuf = new Complex128Array( discreteUniform( xbuf.length*2, 0, 10, opts ) );
9696
var y = new ndarray( 'complex128', ybuf, [ ybuf.length ], [ 1 ], 0, 'row-major' );
9797
console.log( ndarray2array( y ) );
9898

lib/node_modules/@stdlib/blas/base/ndarray/zcopy/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var xbuf = new Complex128Array( discreteUniform( 10, 0, 100, opts ) );
3232
var x = new ndarray( 'complex128', xbuf, [ xbuf.length ], [ 1 ], 0, 'row-major' );
3333
console.log( ndarray2array( x ) );
3434

35-
var ybuf = new Complex128Array( discreteUniform( xbuf.length, 0, 10, opts ) );
35+
var ybuf = new Complex128Array( discreteUniform( xbuf.length*2, 0, 10, opts ) );
3636
var y = new ndarray( 'complex128', ybuf, [ ybuf.length ], [ 1 ], 0, 'row-major' );
3737
console.log( ndarray2array( y ) );
3838

0 commit comments

Comments
 (0)