Skip to content

Commit 3d60f2c

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent 5911c55 commit 3d60f2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dstdevtk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ int main( void ) {
314314
const int strideX = 2;
315315

316316
// Compute the variance:
317-
double v = stdlib_strided_dstdevtk( N, 1, x, strideX );
317+
double v = stdlib_strided_dstdevtk( N, 1.0, x, strideX );
318318

319319
// Print the result:
320320
printf( "sample standard deviation: %lf\n", v );

lib/node_modules/@stdlib/stats/base/dstdevtk/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ int main( void ) {
3030
const int strideX = 2;
3131

3232
// Compute the standard deviation:
33-
double v = stdlib_strided_dstdevtk( N, 1, x, strideX );
33+
double v = stdlib_strided_dstdevtk( N, 1.0, x, strideX );
3434

3535
// Print the result:
3636
printf( "sample standard deviation: %lf\n", v );

0 commit comments

Comments
 (0)