Skip to content

Commit c495b97

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent 191cc49 commit c495b97

File tree

1 file changed

+1
-2
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/sapx

1 file changed

+1
-2
lines changed

lib/node_modules/@stdlib/blas/ext/base/sapx/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ var uniform = require( '@stdlib/random/base/uniform' ).factory;
130130
var filledarrayBy = require( '@stdlib/array/filled-by' );
131131
var sapx = require( '@stdlib/blas/ext/base/sapx' );
132132

133-
var rand = uniform( -100.0, 100.0 );
134-
var x = filledarrayBy( 10, 'float32', rand );
133+
var x = filledarrayBy( 10, 'float32', uniform( -100.0, 100.0 ) );
135134
console.log( x );
136135

137136
sapx( x.length, 5.0, x, 1 );

0 commit comments

Comments
 (0)