Skip to content

Commit edb4978

Browse files
authored
Fix: Variable Changed from logcdf to cdf
Signed-off-by: MANI <[email protected]>
1 parent 3609a6b commit edb4978

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ var pkg = require( './../package.json' ).name;
3232

3333
// VARIABLES //
3434

35-
var logcdf = tryRequire( resolve( __dirname, './../lib/native.js' ) );
35+
var cdf = tryRequire( resolve( __dirname, './../lib/native.js' ) );
3636
var opts = {
37-
'skip': ( logcdf instanceof Error )
37+
'skip': ( cdf instanceof Error )
3838
};
3939

4040

@@ -60,7 +60,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
6060

6161
b.tic();
6262
for ( i = 0; i < b.iterations; i++ ) {
63-
y = logcdf( x[ i % len ], x0[ i % len ], gamma[ i % len ] );
63+
y = cdf( x[ i % len ], x0[ i % len ], gamma[ i % len ] );
6464
if ( isnan( y ) ) {
6565
b.fail( 'should not return NaN' );
6666
}

0 commit comments

Comments
 (0)