WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit d57ae08

Browse files
committed
docs: fix return annotations and remove extra return variable
--- 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: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - 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 dbc772f commit d57ae08

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/blas/ext/base/wasm/dapx/examples/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ function main() {
3333
var x = oneTo( N, 'float64' );
3434

3535
// Perform computation:
36-
var out = dapx.ndarray( N, 5.0, x, 1, 0 );
36+
dapx.ndarray( N, 5.0, x, 1, 0 );
3737

3838
// Print the results:
39-
console.log( out );
40-
// => <Float64Array>[ 6.0, 7.0, 8.0, 9.0, 10.0 ]
39+
console.log( x );
40+
// => <Float64Array>[ 6.0, 7.0, 8.0 ]
4141
}
4242

4343
main();

lib/node_modules/@stdlib/blas/ext/base/wasm/dapx/examples/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function main() {
6262
mod.read( xptr, view );
6363

6464
console.log( view );
65-
// => <Float64Array>[ 6.0, 7.0, 8.0, 9.0, 10.0 ]
65+
// => <Float64Array>[ 6.0, 7.0, 8.0 ]
6666
}
6767

6868
main();

0 commit comments

Comments
 (0)