Skip to content

Commit 9bb5a5a

Browse files
committed
all issue resolved
1 parent 9633ac7 commit 9bb5a5a

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/cdf/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ bench( pkg, function benchmark( b ) {
5151

5252
b.tic();
5353
for ( i = 0; i < b.iterations; i++ ) {
54-
y = cdf( x, alpha, beta );
54+
y = cdf( x[ i % len ], alpha[ i % len ], beta[ i % len ] );
5555
if ( isnan( y ) ) {
5656
b.fail( 'should not return NaN' );
5757
}

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/ctor/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ bench( pkg+'::instantiation', function benchmark( b ) {
4848

4949
b.tic();
5050
for ( i = 0; i < b.iterations; i++ ) {
51-
dist = new Pareto1( alpha[ i % len ], beta[ i % len] );
51+
dist = new Pareto1( alpha[ i % len ], beta[ i % len ] );
5252
if ( !( dist instanceof Pareto1 ) ) {
5353
b.fail( 'should return a distribution instance' );
5454
}

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/mode/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ bench( pkg, function benchmark( b ) {
4848

4949
b.tic();
5050
for ( i = 0; i < b.iterations; i++ ) {
51-
y = mode( alpha[ i% len ], beta[ i % len ] );
51+
y = mode( alpha[ i % len ], beta[ i % len ] );
5252
if ( isnan( y ) ) {
5353
b.fail( 'should not return NaN' );
5454
}

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/benchmark/benchmark.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ bench( pkg+':factory', function benchmark( b ) {
8181
for ( i = 0; i < len; i++ ) {
8282
x[ i ] = uniform( EPS, 50.0 );
8383
}
84-
mypdf = pdf.factory( alpha, beta );
8584

8685
b.tic();
8786
for ( i = 0; i < b.iterations; i++ ) {

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/skewness/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
5151
alpha = new Float64Array( len );
5252
beta = new Float64Array( len );
5353
for ( i = 0; i < len; i++ ) {
54-
alpha[ i ] = uniform( 3.0 + EPS, 10.0);
54+
alpha[ i ] = uniform( 3.0 + EPS, 10.0 );
5555
beta[ i ] = uniform( EPS, 10.0 );
5656
}
5757

0 commit comments

Comments
 (0)