Skip to content

Commit 45e1877

Browse files
committed
chore: fix exmaple
--- 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: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 127b979 commit 45e1877

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • lib/node_modules/@stdlib/blas/base/cgemv

lib/node_modules/@stdlib/blas/base/cgemv/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ var y = filledarrayBy( M, 'complex64', rand );
204204
var alpha = new Complex64( 0.5, 0.5 );
205205
var beta = new Complex64( 0.5, -0.5 );
206206

207-
cgemv( 'column-major', 'no-transpose', M, N, alpha, A, 4, x, 1, beta, y, 1 );
207+
cgemv( 'column-major', 'no-transpose', M, N, alpha, A, M, x, 1, beta, y, 1 );
208208

209209
// Print the results:
210210
logEach( '%s', x );
211211

212-
cgemv.ndarray( 'no-transpose', M, N, alpha, A, 1, 4, 0, x, 1, 0, beta, y, 1, 0 );
212+
cgemv.ndarray( 'no-transpose', M, N, alpha, A, 1, M, 0, x, 1, 0, beta, y, 1, 0 );
213213

214214
// Print the results:
215215
logEach( '%s', x );
@@ -261,7 +261,7 @@ float y[] = { 1.0f, 1.0f, 2.0f, 2.0f, 3.0f, 3.0f, 4.0f, 4.0f };
261261
const stdlib_complex64_t alpha = stdlib_complex64( 0.5f, 0.5f );
262262
const stdlib_complex64_t beta = stdlib_complex64( 0.5f, -0.5f );
263263

264-
c_cgemv( CblasRowMajor, CblasNoTrans, 4, 2, alpha, (void *)A, 4, (void *)x, 1, beta, (void *)y, 1 );
264+
c_cgemv( CblasColMajor, CblasNoTrans, 4, 2, alpha, (void *)A, 4, (void *)x, 1, beta, (void *)y, 1 );
265265
```
266266
267267
The function accepts the following arguments:

0 commit comments

Comments
 (0)