diff --git a/lib/node_modules/@stdlib/blas/base/isamax/test/test.isamax.js b/lib/node_modules/@stdlib/blas/base/isamax/test/test.isamax.js index 19ad51ceae1b..b60e99fc38e6 100644 --- a/lib/node_modules/@stdlib/blas/base/isamax/test/test.isamax.js +++ b/lib/node_modules/@stdlib/blas/base/isamax/test/test.isamax.js @@ -57,13 +57,13 @@ tape( 'the function finds the index of the element with the maximum absolute val idx = isamax( 4, x, 1 ); t.strictEqual( idx, expected, 'returns expected value' ); - x = new Float32Array( [ + x = new Float32Array([ 0.2, // 1 -0.6, // 2 0.3, // 3 5.0, 5.0 - ] ); + ]); expected = 1; idx = isamax( 3, x, 1 ); @@ -77,11 +77,11 @@ tape( 'if provided an `N` parameter less than `1`, the function returns `-1`', f var idx; var x; - x = new Float32Array( [ + x = new Float32Array([ 1.0, 2.0, 3.0 - ] ); + ]); expected = -1; idx = isamax( 0, x, 1 );