Skip to content

Commit 2e8204e

Browse files
authored
docs: use correct format specifier
PR-URL: #3033 Reviewed-by: Athan Reines <[email protected]> Signed-off-by: Gunj Joshi <[email protected]>
1 parent dce31cc commit 2e8204e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/math/base/special/nanmin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ int main( void ) {
190190
int i;
191191
for ( i = 0; i < 10; i++ ) {
192192
v = stdlib_base_nanmin( x[i], y[i] );
193-
printf( "x[ %d ]: %f, y[ %d ]: %f, nanmin( x[ %d ], y[ %d ] ): %f\n", i, x[ i ], i, y[ i ], i, i, v );
193+
printf( "x[ %d ]: %lf, y[ %d ]: %lf, nanmin( x[ %d ], y[ %d ] ): %lf\n", i, x[ i ], i, y[ i ], i, i, v );
194194
}
195195
}
196196
```

lib/node_modules/@stdlib/math/base/special/nanmin/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ int main( void ) {
2727
int i;
2828
for ( i = 0; i < 10; i++ ) {
2929
v = stdlib_base_nanmin( x[ i ], y[ i ] );
30-
printf( "x[ %d ]: %f, y[ %d ]: %f, nanmin( x[ %d ], y[ %d ] ): %f\n", i, x[ i ], i, y[ i ], i, i, v );
30+
printf( "x[ %d ]: %lf, y[ %d ]: %lf, nanmin( x[ %d ], y[ %d ] ): %lf\n", i, x[ i ], i, y[ i ], i, i, v );
3131
}
3232
}

0 commit comments

Comments
 (0)