Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function nditerColumnEntries( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 2 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least two dimensions.' );
throw new TypeError( format( 'invalid argument. First argument must be an ndarray having at least two dimensions.' ) );
}

// Check whether the input array is empty...
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/iter/columns/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function nditerColumns( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 2 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least two dimensions.' );
throw new TypeError( format( 'invalid argument. First argument must be an ndarray having at least two dimensions.' ) );
}
// Check whether the input array is empty...
N = numel( shape );
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/iter/matrices/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function nditerMatrices( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 3 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least three dimensions.' );
throw new TypeError( format( 'invalid argument. First argument must be an ndarray having at least three dimensions.' ) );
}
// Check whether the input array is empty...
N = numel( shape );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function nditerMatrixEntries( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 3 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least three dimensions.' );
throw new TypeError( format( 'invalid argument. First argument must be an ndarray having at least three dimensions.' ) );
}

// Check whether the input array is empty...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function nditerRowEntries( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 2 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least two dimensions.' );
throw new TypeError( format( 'invalid argument. First argument must be an ndarray having at least two dimensions.' ) );
}

// Check whether the input array is empty...
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/iter/rows/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function nditerRows( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 2 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least two dimensions.' );
throw new TypeError( format( 'invalid argument. First argument must be an ndarray having at least two dimensions.' ) );
}
// Check whether the input array is empty...
N = numel( shape );
Expand Down