File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/node_modules/@stdlib/math/base/special
gamma-lanczos-sum/benchmark Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ static double benchmark( void ) {
102102
103103 t = tic ();
104104 for ( i = 0 ; i < ITERATIONS ; i ++ ) {
105- y = stdlib_base_cbrtf ( x [ i %( sizeof ( x )/ sizeof ( x [ 0 ])) ] );
105+ y = stdlib_base_cbrtf ( x [ i %x . length ] );
106106 if ( y != y ) {
107107 printf ( "should not return NaN\n" );
108108 break ;
Original file line number Diff line number Diff line change 2121// MODULES //
2222
2323var bench = require ( '@stdlib/bench' ) ;
24- var uniform = require ( '@stdlib/random/array /uniform' ) ;
24+ var uniform = require ( '@stdlib/random/base /uniform' ) ;
2525var isnan = require ( '@stdlib/math/base/assert/is-nan' ) ;
2626var pkg = require ( './../package.json' ) . name ;
2727var gammaLanczosSum = require ( './../lib' ) ;
You can’t perform that action at this time.
0 commit comments