Skip to content

Commit e47ee45

Browse files
authored
fix: resolve bugs, docs, and JSDoc type errors
PR-URL: #11337 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 648676b commit e47ee45

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

lib/node_modules/@stdlib/blas/base/dgemm/docs/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ interface Routine {
105105
* @param K - number of columns in the matrix `op(A)` and number of rows in the matrix `op(B)`
106106
* @param alpha - scalar constant
107107
* @param A - first matrix
108-
* @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
108+
* @param LDA - stride between successive contiguous vectors of the matrix `A` (a.k.a., leading dimension of the matrix `A`)
109109
* @param B - second matrix
110-
* @param LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`)
110+
* @param LDB - stride between successive contiguous vectors of the matrix `B` (a.k.a., leading dimension of the matrix `B`)
111111
* @param beta - scalar constant
112112
* @param C - third matrix
113-
* @param LDC - stride of the first dimension of `C` (a.k.a., leading dimension of the matrix `C`)
113+
* @param LDC - stride between successive contiguous vectors of the matrix `C` (a.k.a., leading dimension of the matrix `C`)
114114
* @returns `C`
115115
*
116116
* @example

lib/node_modules/@stdlib/blas/base/dgemm/lib/dgemm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function dgemm( order, transA, transB, M, N, K, alpha, A, LDA, B, LDB, beta, C,
9595
throw new RangeError( format( 'invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.', M ) );
9696
}
9797
if ( N < 0 ) {
98-
throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', M ) );
98+
throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', N ) );
9999
}
100100
if ( K < 0 ) {
101101
throw new RangeError( format( 'invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.', K ) );

lib/node_modules/@stdlib/blas/ext/cusum/lib/assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var base = require( './base.js' ).assign;
4444
* @param {(ndarrayLike|number|ComplexLike)} [initial] - initial value
4545
* @param {ndarrayLike} out - output ndarray
4646
* @param {Options} [options] - function options
47-
* @param {integer} [options.dims] - list of dimensions over which to perform operation
47+
* @param {IntegerArray} [options.dims] - list of dimensions over which to perform operation
4848
* @throws {TypeError} first argument must be an ndarray-like object
4949
* @throws {TypeError} initial value argument must be either an ndarray-like object or a numeric value
5050
* @throws {TypeError} output argument must be an ndarray-like object

lib/node_modules/@stdlib/blas/ext/join/lib/assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var base = require( './base.js' ).assign;
4242
* @param {ndarrayLike} out - output ndarray
4343
* @param {Options} [options] - function options
4444
* @param {(ndarrayLike|*)} [options.sep=','] - separator
45-
* @param {integer} [options.dims] - list of dimensions over which to perform operation
45+
* @param {IntegerArray} [options.dims] - list of dimensions over which to perform operation
4646
* @throws {TypeError} first argument must be an ndarray-like object
4747
* @throws {TypeError} second argument must be an ndarray-like object
4848
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/blas/ext/join/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var base = require( './base.js' );
4141
* @param {ndarrayLike} x - input ndarray
4242
* @param {Options} [options] - function options
4343
* @param {(ndarrayLike|*)} [options.sep=','] - separator
44-
* @param {integer} [options.dims] - list of dimensions over which to perform operation
44+
* @param {IntegerArray} [options.dims] - list of dimensions over which to perform operation
4545
* @param {boolean} [options.keepdims=false] - boolean indicating whether the reduced dimensions should be included in the returned ndarray as singleton dimensions
4646
* @throws {TypeError} first argument must be an ndarray-like object
4747
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ var MAX_DIMS = UNARY.length - 1;
153153
* 'strides': [ 0, 0 ],
154154
* 'offset': 0,
155155
* 'order': 'row-major'
156-
};
156+
* };
157157
* var alpha = {
158158
* 'dtype': 'float64',
159159
* 'data': [ 0.05 ],
@@ -237,7 +237,7 @@ var MAX_DIMS = UNARY.length - 1;
237237
* 'strides': [ 0 ],
238238
* 'offset': 0,
239239
* 'order': 'row-major'
240-
};
240+
* };
241241
* var alpha = {
242242
* 'dtype': 'float64',
243243
* 'data': [ 0.05 ],
@@ -322,7 +322,7 @@ var MAX_DIMS = UNARY.length - 1;
322322
* 'strides': [ 0, 0, 0 ],
323323
* 'offset': 0,
324324
* 'order': 'row-major'
325-
};
325+
* };
326326
* var alpha = {
327327
* 'dtype': 'float64',
328328
* 'data': [ 0.05 ],

lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-by/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ function unaryReduceStrided1dBy( fcn, arrays, dims, options, clbk, thisArg ) { /
460460
// Determine whether we only have one loop dimension and can thus readily perform one-dimensional iteration...
461461
if ( K === 1 ) {
462462
if ( y.accessorProtocol ) {
463-
return ACCESSOR_UNARY[ K ]( fcn, arr, strategy, workspace, views, ldims, d, sl, opts, FLG, cb, ctx );
463+
return ACCESSOR_UNARY[ K ]( fcn, arr, strategy, views, workspace, ldims, d, sl, opts, FLG, cb, ctx );
464464
}
465465
return UNARY[ K ]( fcn, arr, strategy, views, workspace, ldims, d, sl, opts, FLG, cb, ctx );
466466
}

0 commit comments

Comments
 (0)