File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ var ndslice = require( '@stdlib/ndarray-base-slice' );
3131var maybeBroadcastArrays = require ( '@stdlib/ndarray-maybe-broadcast-arrays' ) ;
3232var nextCartesianIndex = require ( '@stdlib/ndarray-base-next-cartesian-index' ) . assign ;
3333var args2multislice = require ( '@stdlib/slice-base-args2multislice' ) ;
34- var format = require ( '@stdlib/string-format ' ) ;
34+ var format = require ( '@stdlib/error-tools-fmtprodmsg ' ) ;
3535
3636
3737// MAIN //
@@ -90,7 +90,7 @@ function nditerInterleaveSubarrays( arrays, ndims ) {
9090 throw new TypeError ( format ( 'invalid argument. First argument must be an array of ndarrays. Value: `%s`.' , arrays ) ) ;
9191 }
9292 if ( ! isPositiveInteger ( ndims ) ) {
93- throw new TypeError ( format ( 'invalid argument. Second argument must be a positive integer. Value: `%s`. ' , ndims ) ) ;
93+ throw new TypeError ( format ( 'null45 ' , ndims ) ) ;
9494 }
9595 // Attempt to broadcast the input ndarrays...
9696 try {
Original file line number Diff line number Diff line change 4646 "@stdlib/ndarray-maybe-broadcast-arrays" : " ^0.2.2" ,
4747 "@stdlib/ndarray-shape" : " ^0.2.2" ,
4848 "@stdlib/slice-base-args2multislice" : " ^0.2.2" ,
49- "@stdlib/string-format " : " ^0.2.2" ,
49+ "@stdlib/error-tools-fmtprodmsg " : " ^0.2.2" ,
5050 "@stdlib/symbol-iterator" : " ^0.2.2" ,
5151 "@stdlib/types" : " ^0.4.3" ,
5252 "@stdlib/utils-define-nonenumerable-read-only-property" : " ^0.2.2" ,
You can’t perform that action at this time.
0 commit comments