Skip to content

Commit 3c4e7f2

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: 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent f660e38 commit 3c4e7f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/buffer-dtype/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ for ( i = 0; i < DTYPES.length; i++ ) {
102102

103103
// Try an array-like object...
104104
var buf = {
105-
'length': 10
105+
'length': len
106106
};
107107
dt = dtype( buf );
108108
console.log( '%s == %s => %s', 'generic', dt, dt === 'generic' );

lib/node_modules/@stdlib/ndarray/base/buffer-dtype/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ for ( i = 0; i < DTYPES.length; i++ ) {
4040

4141
// Try an array-like object...
4242
var buf = {
43-
'length': 10
43+
'length': len
4444
};
4545
dt = dtype( buf );
4646
console.log( '%s == %s => %s', 'generic', dt, dt === 'generic' );

0 commit comments

Comments
 (0)