Skip to content

Commit a21aba8

Browse files
add math/base/assert/is-probabilityf
1 parent f75254f commit a21aba8

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/assert/is-probabilityf/benchmark/c/native

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/assert/is-probabilityf/benchmark/c/native/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static double tic( void ) {
8282
*/
8383
static float rand_float( void ) {
8484
int r = rand();
85-
return (float)r / ( (float)RAND_MAX + 1.0 );
85+
return (float)r / ( (float)RAND_MAX + 1.0f );
8686
}
8787

8888
/**

0 commit comments

Comments
 (0)