Skip to content

Commit 2e48726

Browse files
committed
docs: update examples
--- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 1f5d811 commit 2e48726

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/lapack/base/dlacpy

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/lapack/base/dlacpy/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ While [`typed array`][mdn-typed-array] views mandate a view offset based on the
107107
```javascript
108108
var Float64Array = require( '@stdlib/array/float64' );
109109

110-
var A = new Float64Array( [ 0.0, 1.0, 2.0, 3.0, 4.0 ] );
111-
var B = new Float64Array( [ 0.0, 0.0, 11.0, 312.0, 53.0, 412.0 ] );
110+
var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
111+
var B = new Float64Array( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
112112

113113
dlacpy.ndarray( 'all', 2, 2, A, 2, 1, 1, B, 2, 1, 2 );
114-
// B => <Float64Array>[ 0.0, 0.0, 1.0, 2.0, 3.0, 4.0 ]
114+
// B => <Float64Array>[ 0.0, 0.0, 2.0, 3.0, 4.0, 5.0 ]
115115
```
116116

117117
</section>

0 commit comments

Comments
 (0)