Skip to content

Commit 95a8c41

Browse files
authored
fix: use correct argument value in error message and propagate JSDoc fixes to sibling packages
PR-URL: #12302 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent e19b784 commit 95a8c41

22 files changed

Lines changed: 22 additions & 22 deletions

File tree

lib/node_modules/@stdlib/assert/is-little-endian/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Return a boolean indicating if an environment is little endian.
22+
* Boolean indicating if an environment is little endian.
2323
*
2424
* @module @stdlib/assert/is-little-endian
2525
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function zeros( M, N, X, strideX1, strideX2, offsetX ) { // TODO: consider movin
124124
* @private
125125
* @param {NonNegativeInteger} M - number of rows
126126
* @param {NonNegativeInteger} N - number of columns
127-
* @param {number} beta - scalar
127+
* @param {number} beta - scalar constant
128128
* @param {Float64Array} X - matrix to fill
129129
* @param {integer} strideX1 - stride of the first dimension of `X`
130130
* @param {integer} strideX2 - stride of the second dimension of `X`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var isColumnMajor = require( '@stdlib/ndarray/base/assert/is-column-major-string
3333
* @param {string} order - storage layout
3434
* @param {string} uplo - specifies whether the upper or lower triangular part of the symmetric matrix `A` is supplied
3535
* @param {NonNegativeInteger} N - number of elements along each dimension of `A`
36-
* @param {number} alpha - scalar
36+
* @param {number} alpha - scalar constant
3737
* @param {Float64Array} x - input vector
3838
* @param {integer} strideX - `x` stride length
3939
* @param {NonNegativeInteger} offsetX - starting index for `x`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var base = require( './base.js' );
3535
* @param {string} order - storage layout
3636
* @param {string} uplo - specifies whether the upper or lower triangular part of the symmetric matrix `A` is supplied
3737
* @param {NonNegativeInteger} N - number of elements along each dimension of `A`
38-
* @param {number} alpha - scalar
38+
* @param {number} alpha - scalar constant
3939
* @param {Float64Array} x - input vector
4040
* @param {integer} strideX - `x` stride length
4141
* @param {Float64Array} AP - packed form of a symmetric matrix `A`

lib/node_modules/@stdlib/blas/base/dspr/lib/ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var base = require( './base.js' );
3434
* @param {string} order - storage layout
3535
* @param {string} uplo - specifies whether the upper or lower triangular part of the symmetric matrix `A` is supplied
3636
* @param {NonNegativeInteger} N - number of elements along each dimension of `A`
37-
* @param {number} alpha - scalar
37+
* @param {number} alpha - scalar constant
3838
* @param {Float64Array} x - input vector
3939
* @param {integer} strideX - `x` stride length
4040
* @param {NonNegativeInteger} offsetX - starting index for `x`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function dsyr2( order, uplo, N, alpha, x, strideX, y, strideY, A, LDA ) {
8181
throw new RangeError( format( 'invalid argument. Sixth argument must be non-zero. Value: `%d`.', strideX ) );
8282
}
8383
if ( strideY === 0 ) {
84-
throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideX ) );
84+
throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideY ) );
8585
}
8686
if ( LDA < max( 1, N ) ) {
8787
throw new RangeError( format( 'invalid argument. Tenth argument must be greater than or equal to max(1,%d). Value: `%d`.', N, LDA ) );

lib/node_modules/@stdlib/blas/base/dsyr2/lib/dsyr2.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function dsyr2( order, uplo, N, alpha, x, strideX, y, strideY, A, LDA ) {
7676
throw new RangeError( format( 'invalid argument. Sixth argument must be non-zero. Value: `%d`.', strideX ) );
7777
}
7878
if ( strideY === 0 ) {
79-
throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideX ) );
79+
throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideY ) );
8080
}
8181
if ( LDA < max( 1, N ) ) {
8282
throw new RangeError( format( 'invalid argument. Tenth argument must be greater than or equal to max(1,%d). Value: `%d`.', N, LDA ) );

lib/node_modules/@stdlib/blas/base/ggemm/lib/accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function zeros( M, N, X, strideX1, strideX2, offsetX ) { // TODO: consider movin
136136
* @private
137137
* @param {NonNegativeInteger} M - number of rows
138138
* @param {NonNegativeInteger} N - number of columns
139-
* @param {number} beta - scalar
139+
* @param {number} beta - scalar constant
140140
* @param {Object} X - matrix object
141141
* @param {Collection} X.data - matrix data
142142
* @param {Array<Function>} X.accessors - array element accessors

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function zeros( M, N, X, strideX1, strideX2, offsetX ) { // TODO: consider movin
122122
* @private
123123
* @param {NonNegativeInteger} M - number of rows
124124
* @param {NonNegativeInteger} N - number of columns
125-
* @param {number} beta - scalar
125+
* @param {number} beta - scalar constant
126126
* @param {NumericArray} X - matrix to fill
127127
* @param {integer} strideX1 - stride of the first dimension of `X`
128128
* @param {integer} strideX2 - stride of the second dimension of `X`

lib/node_modules/@stdlib/blas/base/gscal/lib/accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var M = 5;
2929
* Multiplies `x` by a scalar `alpha`.
3030
*
3131
* @param {PositiveInteger} N - number of indexed elements
32-
* @param {number} alpha - scalar
32+
* @param {number} alpha - scalar constant
3333
* @param {Object} x - input array object
3434
* @param {Collection} x.data - input array data
3535
* @param {Array<Function>} x.accessors - array element accessors

0 commit comments

Comments
 (0)