Skip to content

Commit a77644a

Browse files
committed
bench: fix import path
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent c19cc6b commit a77644a

File tree

1 file changed

+2
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/poisson/cdf/benchmark

1 file changed

+2
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/poisson/cdf/benchmark/benchmark.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var bench = require( '@stdlib/bench' );
24-
var uniform = require( '@stdlib/random/base/uniform' );
24+
var uniform = require( '@stdlib/random/array/uniform' );
2525
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2626
var pkg = require( './../package.json' ).name;
2727
var cdf = require( './../lib' );
@@ -58,15 +58,13 @@ bench( pkg, function benchmark( b ) {
5858
});
5959

6060
bench( pkg+':factory', function benchmark( b ) {
61-
var lambda;
6261
var mycdf;
6362
var opts;
6463
var x;
6564
var y;
6665
var i;
6766

68-
lambda = 10.0;
69-
mycdf = cdf.factory( lambda );
67+
mycdf = cdf.factory( 10.0 );
7068

7169
opts = {
7270
'dtype': 'float64'

0 commit comments

Comments
 (0)