Skip to content

Commit 4d4dbee

Browse files
bench: set array size to 100
Signed-off-by: Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
1 parent fc55de5 commit 4d4dbee

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/fast/acoshf/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
float y;
9999
int i;
100100

101-
x = (float *) malloc( len * sizeof( float ) );
101+
x = (float *) malloc( 100 * sizeof( float ) );
102102
for ( i = 0; i < 100; i++ ) {
103103
x[ i ] = random_uniform( 0.0f, 100.0f );
104104
}

0 commit comments

Comments
 (0)