Skip to content

Commit 43bfc6b

Browse files
committed
fix: include value in error message
--- 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 3b4fa18 commit 43bfc6b

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/sgemm/lib

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ function sgemm( transA, transB, M, N, K, alpha, A, strideA1, strideA2, offsetA,
8383
throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', K ) );
8484
}
8585
if ( strideC1 === 0 ) {
86-
throw new RangeError( format( 'invalid argument. Seventeenth argument must be non-zero.', strideC1 ) );
86+
throw new RangeError( format( 'invalid argument. Seventeenth argument must be non-zero. Value: `%d`.', strideC1 ) );
8787
}
8888
if ( strideC2 === 0 ) {
89-
throw new RangeError( format( 'invalid argument. Eighteenth argument must be non-zero.', strideC2 ) );
89+
throw new RangeError( format( 'invalid argument. Eighteenth argument must be non-zero. Value: `%d`.', strideC2 ) );
9090
}
9191
return base( transA, transB, M, N, K, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB, beta, C, strideC1, strideC2, offsetC ); // eslint-disable-line max-len
9292
}

0 commit comments

Comments
 (0)