Skip to content

Commit 2eb65a6

Browse files
committed
test: guard against fixture mutation
--- 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: passed - 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 0d55111 commit 2eb65a6

File tree

2 files changed

+361
-289
lines changed

2 files changed

+361
-289
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function gger( M, N, alpha, x, strideX, offsetX, y, strideY, offsetY, A, strideA
140140
oa = arraylike2object( A );
141141
if ( ox.accessorProtocol || oy.accessorProtocol || oa.accessorProtocol ) {
142142
accessors( M, N, alpha, ox, strideX, offsetX, oy, strideY, offsetY, oa, strideA1, strideA2, offsetA );
143-
return oa.data;
143+
return A;
144144
}
145145
// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
146146
if ( isRowMajor( [ strideA1, strideA2 ] ) ) {

0 commit comments

Comments
 (0)