diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/dnanmax/test/test.js b/lib/node_modules/@stdlib/stats/base/ndarray/dnanmax/test/test.js index 5325d149307e..82ce8be703d1 100644 --- a/lib/node_modules/@stdlib/stats/base/ndarray/dnanmax/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/ndarray/dnanmax/test/test.js @@ -63,15 +63,15 @@ tape( 'the function calculates the maximum value of a one-dimensional ndarray', var v; x = new Float64Array( [ 1.0, -2.0, -4.0, NaN, 5.0, 0.0, 3.0 ] ); - v = dnanmax( [ vector( x, 6, 1, 0 ) ] ); + v = dnanmax( [ vector( x, 7, 1, 0 ) ] ); t.strictEqual( v, 5.0, 'returns expected value' ); x = new Float64Array( [ -4.0, NaN, -5.0 ] ); - v = dnanmax( [ vector( x, 2, 1, 0 ) ] ); + v = dnanmax( [ vector( x, 3, 1, 0 ) ] ); t.strictEqual( v, -4.0, 'returns expected value' ); x = new Float64Array( [-0.0, 0.0, NaN, -0.0 ] ); - v = dnanmax( [ vector( x, 3, 1, 0 ) ] ); + v = dnanmax( [ vector( x, 4, 1, 0 ) ] ); t.strictEqual( isPositiveZero( v ), true, 'returns expected value' ); x = new Float64Array( [ NaN ] ); diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/nanmax/test/test.js b/lib/node_modules/@stdlib/stats/base/ndarray/nanmax/test/test.js index e84d9f6ddc37..afbfb84f9897 100644 --- a/lib/node_modules/@stdlib/stats/base/ndarray/nanmax/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/ndarray/nanmax/test/test.js @@ -62,15 +62,15 @@ tape( 'the function calculates the maximum value of a one-dimensional ndarray', var v; x = [ 1.0, -2.0, -4.0, NaN, 5.0, 0.0, 3.0 ]; - v = nanmax( [ vector( x, 6, 1, 0 ) ] ); + v = nanmax( [ vector( x, 7, 1, 0 ) ] ); t.strictEqual( v, 5.0, 'returns expected value' ); x = [ -4.0, NaN, -5.0 ]; - v = nanmax( [ vector( x, 2, 1, 0 ) ] ); + v = nanmax( [ vector( x, 3, 1, 0 ) ] ); t.strictEqual( v, -4.0, 'returns expected value' ); x = [-0.0, 0.0, NaN, -0.0 ]; - v = nanmax( [ vector( x, 3, 1, 0 ) ] ); + v = nanmax( [ vector( x, 4, 1, 0 ) ] ); t.strictEqual( isPositiveZero( v ), true, 'returns expected value' ); x = [ NaN ]; diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/snanmax/test/test.js b/lib/node_modules/@stdlib/stats/base/ndarray/snanmax/test/test.js index 44c7a431f954..cc0e3869245b 100644 --- a/lib/node_modules/@stdlib/stats/base/ndarray/snanmax/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/ndarray/snanmax/test/test.js @@ -63,15 +63,15 @@ tape( 'the function calculates the maximum value of a one-dimensional ndarray', var v; x = new Float32Array( [ 1.0, -2.0, -4.0, NaN, 5.0, 0.0, 3.0 ] ); - v = snanmax( [ vector( x, 6, 1, 0 ) ] ); + v = snanmax( [ vector( x, 7, 1, 0 ) ] ); t.strictEqual( v, 5.0, 'returns expected value' ); x = new Float32Array( [ -4.0, NaN, -5.0 ] ); - v = snanmax( [ vector( x, 2, 1, 0 ) ] ); + v = snanmax( [ vector( x, 3, 1, 0 ) ] ); t.strictEqual( v, -4.0, 'returns expected value' ); x = new Float32Array( [-0.0, 0.0, NaN, -0.0 ] ); - v = snanmax( [ vector( x, 3, 1, 0 ) ] ); + v = snanmax( [ vector( x, 4, 1, 0 ) ] ); t.strictEqual( isPositiveZerof( v ), true, 'returns expected value' ); x = new Float32Array( [ NaN ] );