Skip to content

Commit c3c6734

Browse files
bench: fix loop limit
Co-authored-by: Nakul Krishnakumar <nakulkrishnakumar86@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 3d5e646 commit c3c6734

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/node_modules/@stdlib/stats/strided/distances/dminkowski/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ int main( void ) {
191191
for ( i = MIN; i <= MAX; i++ ) {
192192
len = pow( 10, i );
193193
iter = ITERATIONS / pow( 10, i-1 );
194-
for ( p = 0; p < 5; p++ ) {
194+
for ( p = 0; p < 4; p++ ) {
195195
for ( j = 0; j < REPEATS; j++ ) {
196196
count += 1;
197197
printf( "# c::%s:len=%d:p=%.2f\n", NAME, len, powers[ p ] );

0 commit comments

Comments
 (0)