diff --git a/lib/node_modules/@stdlib/ndarray/base/consensus-order/docs/types/test.ts b/lib/node_modules/@stdlib/ndarray/base/consensus-order/docs/types/test.ts index f8333b4bcbcd..55ef11ffdfac 100644 --- a/lib/node_modules/@stdlib/ndarray/base/consensus-order/docs/types/test.ts +++ b/lib/node_modules/@stdlib/ndarray/base/consensus-order/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -import consensusLayout = require( './index' ); +import consensusOrder = require( './index' ); // TESTS // @@ -26,17 +26,17 @@ import consensusLayout = require( './index' ); const sx = [ 2, 1 ]; const sy = [ 2, 1 ]; const sz = [ 4, 2 ]; - consensusLayout( [ sx, sy, sz ] ); // $ExpectType Layout + consensusOrder( [ sx, sy, sz ] ); // $ExpectType Layout } // The compiler throws an error if the function is provided a first argument which is not an array-like object of numbers... { - consensusLayout( true ); // $ExpectError - consensusLayout( false ); // $ExpectError - consensusLayout( '5' ); // $ExpectError - consensusLayout( 123 ); // $ExpectError - consensusLayout( {} ); // $ExpectError - consensusLayout( ( x: number ): number => x ); // $ExpectError + consensusOrder( true ); // $ExpectError + consensusOrder( false ); // $ExpectError + consensusOrder( '5' ); // $ExpectError + consensusOrder( 123 ); // $ExpectError + consensusOrder( {} ); // $ExpectError + consensusOrder( ( x: number ): number => x ); // $ExpectError } // The compiler throws an error if the function is provided an unsupported number of arguments... @@ -44,6 +44,6 @@ import consensusLayout = require( './index' ); const sx = [ 2, 1 ]; const sy = [ 2, 1 ]; const sz = [ 4, 2 ]; - consensusLayout(); // $ExpectError - consensusLayout( [ sx, sy, sz ], [] ); // $ExpectError + consensusOrder(); // $ExpectError + consensusOrder( [ sx, sy, sz ], [] ); // $ExpectError } diff --git a/lib/node_modules/@stdlib/ndarray/base/output-order/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/base/output-order/benchmark/benchmark.js index 14cb949eba43..927d3022c4ae 100644 --- a/lib/node_modules/@stdlib/ndarray/base/output-order/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/base/output-order/benchmark/benchmark.js @@ -51,14 +51,14 @@ bench( pkg, function benchmark( b ) { var i; arr = [ - [ array( 'row-major' ), array( 'row-major') ], - [ array( 'row-major' ), array( 'column-major') ], - [ array( 'column-major' ), array( 'column-major') ] + [ array( 'row-major' ), array( 'row-major' ) ], + [ array( 'row-major' ), array( 'column-major' ) ], + [ array( 'column-major' ), array( 'column-major' ) ] ]; b.tic(); for ( i = 0; i < b.iterations; i++ ) { - out = outputOrder( [ arr[ i%arr.length ] ] ); + out = outputOrder( arr[ i%arr.length ] ); if ( typeof out !== 'string' ) { b.fail( 'should return a string' ); }