Skip to content

Commit 2cc4943

Browse files
committed
docs: fix example
--- 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: passed - 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 94d843a commit 2cc4943

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/ndarray/base/unary-strided1d/docs

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/ndarray/base/unary-strided1d/docs/repl.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,23 @@
7777
... };
7878

7979
// Using minimal ndarray-like objects...
80-
> x = {
80+
> var x = {
8181
... 'dtype': dtype,
8282
... 'data': xbuf,
8383
... 'shape': shx,
8484
... 'strides': sx,
8585
... 'offset': ox,
8686
... 'order': order
8787
... };
88-
> initial = {
88+
> var initial = {
8989
... 'dtype': dtype,
9090
... 'data': new {{alias:@stdlib/array/float64}}( [ 0.0 ] ),
9191
... 'shape': [],
9292
... 'strides': [ 0 ],
9393
... 'offset': 0,
9494
... 'order': order
9595
... };
96-
> y = {
96+
> var y = {
9797
... 'dtype': dtype,
9898
... 'data': ybuf,
9999
... 'shape': shy,

0 commit comments

Comments
 (0)