Skip to content

Commit 2d73d20

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

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

lib/node_modules/@stdlib/blas/ext/base/sapx/examples/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ var uniform = require( '@stdlib/random/base/uniform' ).factory;
2222
var filledarrayBy = require( '@stdlib/array/filled-by' );
2323
var sapx = require( './../lib' );
2424

25-
var rand = uniform( -100.0, 100.0 );
26-
27-
var x = filledarrayBy( 10, 'float32', rand );
25+
var x = filledarrayBy( 10, 'float32', uniform( -100.0, 100.0 ) );
2826

2927
console.log( x );
3028

0 commit comments

Comments
 (0)