Skip to content

Commit 4ef5bc2

Browse files
authored
bench: fix value types
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 1a9528d commit 4ef5bc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/node_modules/@stdlib/blas/ext/base/sindex-of-row/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static void print_summary( int total, int passing ) {
6060
* @param elapsed elapsed time in seconds
6161
*/
6262
static void print_results( int iterations, float elapsed ) {
63-
float rate = (float)iterations / elapsed;
63+
double rate = (double)iterations / elapsed;
6464
printf( " ---\n" );
6565
printf( " iterations: %d\n", iterations );
6666
printf( " elapsed: %0.9f\n", elapsed );

0 commit comments

Comments
 (0)