@@ -115,7 +115,7 @@ bench( format( '%s::set:alpha', pkg ), function benchmark( bm ) {
115115 }
116116 }
117117 bm . toc ( ) ;
118- if ( isnan ( dist . a ) ) {
118+ if ( isnan ( dist . alpha ) ) {
119119 bm . fail ( 'should not return NaN' ) ;
120120 }
121121 bm . pass ( 'benchmark finished' ) ;
@@ -176,7 +176,7 @@ bench( format( '%s::set:s', pkg ), function benchmark( bm ) {
176176 }
177177 }
178178 bm . toc ( ) ;
179- if ( isnan ( dist . b ) ) {
179+ if ( isnan ( dist . s ) ) {
180180 bm . fail ( 'should not return NaN' ) ;
181181 }
182182 bm . pass ( 'benchmark finished' ) ;
@@ -237,7 +237,7 @@ bench( format( '%s::set:m', pkg ), function benchmark( bm ) {
237237 }
238238 }
239239 bm . toc ( ) ;
240- if ( isnan ( dist . c ) ) {
240+ if ( isnan ( dist . m ) ) {
241241 bm . fail ( 'should not return NaN' ) ;
242242 }
243243 bm . pass ( 'benchmark finished' ) ;
@@ -300,7 +300,7 @@ bench( format( '%s:kurtosis', pkg ), function benchmark( bm ) {
300300
301301 bm . tic ( ) ;
302302 for ( i = 0 ; i < bm . iterations ; i ++ ) {
303- dist . a = x [ i % x . length ] ;
303+ dist . alpha = x [ i % x . length ] ;
304304 y = dist . kurtosis ;
305305 if ( isnan ( y ) ) {
306306 bm . fail ( 'should not return NaN' ) ;
@@ -370,7 +370,7 @@ bench( format( '%s:median', pkg ), function benchmark( bm ) {
370370
371371 bm . tic ( ) ;
372372 for ( i = 0 ; i < bm . iterations ; i ++ ) {
373- dist . a = x [ i % x . length ] ;
373+ dist . alpha = x [ i % x . length ] ;
374374 y = dist . median ;
375375 if ( isnan ( y ) ) {
376376 bm . fail ( 'should not return NaN' ) ;
@@ -405,7 +405,7 @@ bench( format( '%s:skewness', pkg ), function benchmark( bm ) {
405405
406406 bm . tic ( ) ;
407407 for ( i = 0 ; i < bm . iterations ; i ++ ) {
408- dist . a = x [ i % x . length ] ;
408+ dist . alpha = x [ i % x . length ] ;
409409 y = dist . skewness ;
410410 if ( isnan ( y ) ) {
411411 bm . fail ( 'should not return NaN' ) ;
@@ -440,7 +440,7 @@ bench( format( '%s:stdev', pkg ), function benchmark( bm ) {
440440
441441 bm . tic ( ) ;
442442 for ( i = 0 ; i < bm . iterations ; i ++ ) {
443- dist . a = x [ i % x . length ] ;
443+ dist . alpha = x [ i % x . length ] ;
444444 y = dist . stdev ;
445445 if ( isnan ( y ) ) {
446446 bm . fail ( 'should not return NaN' ) ;
@@ -475,7 +475,7 @@ bench( format( '%s:variance', pkg ), function benchmark( bm ) {
475475
476476 bm . tic ( ) ;
477477 for ( i = 0 ; i < bm . iterations ; i ++ ) {
478- dist . a = x [ i % x . length ] ;
478+ dist . alpha = x [ i % x . length ] ;
479479 y = dist . variance ;
480480 if ( isnan ( y ) ) {
481481 bm . fail ( 'should not return NaN' ) ;
0 commit comments