diff --git a/lib/node_modules/@stdlib/stats/base/dnanstdevtk/README.md b/lib/node_modules/@stdlib/stats/base/dnanstdevtk/README.md index da0ac883566f..ba04602be908 100644 --- a/lib/node_modules/@stdlib/stats/base/dnanstdevtk/README.md +++ b/lib/node_modules/@stdlib/stats/base/dnanstdevtk/README.md @@ -255,7 +255,7 @@ Computes the [standard deviation][standard-deviation] of a double-precision floa const double x[] = { 1.0, -2.0, 0.0/0.0, 2.0 }; double v = stdlib_strided_dnanstdevtk( 4, 1.0, x, 1 ); -// returns ~4.3333 +// returns ~2.0817 ``` The function accepts the following arguments: @@ -277,7 +277,7 @@ Computes the [standard deviation][standard-deviation] of a double-precision floa const double x[] = { 1.0, -2.0, 0.0/0.0, 2.0 }; double v = stdlib_strided_dnanstdevtk_ndarray( 4, 1.0, x, 1, 0 ); -// returns ~4.3333 +// returns ~2.0817 ``` The function accepts the following arguments: diff --git a/lib/node_modules/@stdlib/stats/base/dnanstdevtk/src/main.c b/lib/node_modules/@stdlib/stats/base/dnanstdevtk/src/main.c index ddeb64ae108f..27212223d9e0 100644 --- a/lib/node_modules/@stdlib/stats/base/dnanstdevtk/src/main.c +++ b/lib/node_modules/@stdlib/stats/base/dnanstdevtk/src/main.c @@ -21,7 +21,6 @@ #include "stdlib/math/base/special/sqrt.h" #include "stdlib/blas/base/shared.h" #include "stdlib/strided/base/stride2offset.h" -#include /** * Computes the standard deviation of a double-precision floating-point strided array ignoring `NaN` values and using a one-pass textbook algorithm. @@ -48,5 +47,5 @@ double API_SUFFIX(stdlib_strided_dnanstdevtk)( const CBLAS_INT N, const double c * @return output value */ double API_SUFFIX(stdlib_strided_dnanstdevtk_ndarray)( const CBLAS_INT N, const double correction, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) { - return stdlib_base_sqrt( API_SUFFIX(stdlib_strided_dnanvariancetk_ndarray )( N, correction, X, strideX, offsetX ) ); + return stdlib_base_sqrt( API_SUFFIX(stdlib_strided_dnanvariancetk_ndarray)( N, correction, X, strideX, offsetX ) ); }