Skip to content

Commit a08685d

Browse files
committed
chore: clean-up
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 5a5ac90 commit a08685d

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/blas/base/strsm/lib

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ var base = require( './base.js' );
6565
* var B = new Float32Array( [ 0.0, 5.0, 7.0, 0.0, 8.0 ] );
6666
*
6767
* strsm( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 2, B, 2, 1, 1 );
68-
* // B => <Float32Array>[ 0.0, 30.0, 0.0, 0.0, 12.0 ]
68+
* // B => <Float32Array>[ 0.0, 30.0, 6.0, 0.0, 12.0 ]
6969
*/
7070
function strsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB ) { // eslint-disable-line max-len, max-params
7171
if ( !isOperationSide( side ) ) {
@@ -80,13 +80,13 @@ function strsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
8080
if ( !isDiagonalType( diag ) ) {
8181
throw new TypeError( format( 'invalid argument. Fourth argument must specify whether the matrix is unit triangular or not. Value: `%s`.', diag ) );
8282
}
83-
if ( M < 0 ) {
83+
if ( M < 0 ) {
8484
throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', M ) );
8585
}
8686
if ( N < 0 ) {
8787
throw new RangeError( format( 'invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.', N ) );
8888
}
89-
if ( strideB1 === 0 ) {
89+
if ( strideB1 === 0 ) {
9090
throw new RangeError( format( 'invalid argument. Thirteenth argument must be non-zero. Value: `%d`.', strideB1 ) );
9191
}
9292
if ( strideB2 === 0 ) {

0 commit comments

Comments
 (0)