Skip to content

Commit 0a221ce

Browse files
author
aayush0325
committed
fix: bugs removed
1 parent ca173bd commit 0a221ce

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/lucasf/benchmark/c/native

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/lucasf/benchmark/c/native/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static double benchmark( void ) {
9898

9999
t = tic();
100100
for ( i = 0; i < ITERATIONS; i++ ) {
101-
x = (int32_t)( 34.0f * rand_double() );
101+
x = (int32_t)( 34.0f * rand_float() );
102102
y = stdlib_base_lucasf( x );
103103
if ( y != y ) {
104104
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)