diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/dnanstdevch/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/ndarray/dnanstdevch/benchmark/benchmark.js index 7d5c4db9d893..02bbd47bbe39 100644 --- a/lib/node_modules/@stdlib/stats/base/ndarray/dnanstdevch/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/base/ndarray/dnanstdevch/benchmark/benchmark.js @@ -86,8 +86,8 @@ function createBenchmark( len ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { v = dnanstdevch( [ x, correction ] ); - if ( typeof v !== 'number' ) { - b.fail( 'should return a number' ); + if ( isnan( v ) ) { + b.fail( 'should not return NaN' ); } } b.toc(); diff --git a/lib/node_modules/@stdlib/stats/strided/snanmskminabs/README.md b/lib/node_modules/@stdlib/stats/strided/snanmskminabs/README.md index 19c93c31cb6c..7f8f910afba3 100644 --- a/lib/node_modules/@stdlib/stats/strided/snanmskminabs/README.md +++ b/lib/node_modules/@stdlib/stats/strided/snanmskminabs/README.md @@ -61,7 +61,7 @@ The function has the following parameters: - **mask**: mask [`Uint8Array`][@stdlib/array/uint8]. If a `mask` array element is `0`, the corresponding element in `x` is considered valid and **included** in computation. If a `mask` array element is `1`, the corresponding element in `x` is considered invalid/missing and **excluded** from computation. - **strideMask**: stride length for `mask`. -The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to compute the minimum absolute value of every other element in `x`, +The `N` and stride parameters determine which elements in the strided arrays are accessed at runtime. For example, to compute the minimum absolute value of every other element in `x`, ```javascript var Float32Array = require( '@stdlib/array/float32' );