We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34e80e1 commit c28e2e2Copy full SHA for c28e2e2
lib/node_modules/@stdlib/math/base/special/cbrtf/benchmark/c/native/benchmark.c
@@ -102,7 +102,7 @@ static double benchmark( void ) {
102
103
t = tic();
104
for ( i = 0; i < ITERATIONS; i++ ) {
105
- y = stdlib_base_cbrtf( x[ i%(sizeof(x)/sizeof(x[0])) ] );
+ y = stdlib_base_cbrtf( x[ i%x.length ] );
106
if ( y != y ) {
107
printf( "should not return NaN\n" );
108
break;
lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/benchmark/benchmark.js
@@ -21,7 +21,7 @@
21
// MODULES //
22
23
var bench = require( '@stdlib/bench' );
24
-var uniform = require( '@stdlib/random/array/uniform' );
+var uniform = require( '@stdlib/random/base/uniform' );
25
var isnan = require( '@stdlib/math/base/assert/is-nan' );
26
var pkg = require( './../package.json' ).name;
27
var gammaLanczosSum = require( './../lib' );
0 commit comments