Skip to content
Prev Previous commit
Next Next commit
update benchmark.native.js
  • Loading branch information
AbhijitRaut04 committed Nov 22, 2024
commit 510bd26c4225d39f55f9ee5a1b99d75318a3c9a3
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/uniform' );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AbhijitRaut04 We should use @stdlib/random/array/uniform here, and declare x and y below as arrays. Then, we can can initialize them with values using randu.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same goes for benchmark.js as well.

var isnan = require( '@stdlib/math/base/assert/is-nan' );
var tryRequire = require( '@stdlib/utils/try-require' );
var pkg = require( './../package.json' ).name;

Expand Down