Skip to content

Commit f19ed1d

Browse files
committed
fix: input indices
--- 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: passed - 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 81d6bf9 commit f19ed1d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/ndarray/with/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var x = zeros( [ 1, 3, 3 ], {
9292
'dtype': 'float64'
9393
});
9494

95-
var out = ndarrayWith( x, [ 1, 1, 1 ], 10.0 );
95+
var out = ndarrayWith( x, [ 0, 1, 1 ], 10.0 );
9696
console.log( ndarray2array( out ) );
9797
```
9898

lib/node_modules/@stdlib/ndarray/with/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ bench( pkg+'::1d', function benchmark( b ) {
4040

4141
b.tic();
4242
for ( i = 0; i < b.iterations; i++ ) {
43-
v = ndarrayWith( x, [ 5 ], 5 );
43+
v = ndarrayWith( x, [ 4 ], 5 );
4444
if ( typeof v !== 'object' ) {
4545
b.fail( 'should return an ndarray' );
4646
}

lib/node_modules/@stdlib/ndarray/with/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ var x = zeros( [ 1, 3, 3 ], {
2626
'dtype': 'float64'
2727
});
2828

29-
var out = ndarrayWith( x, [ 1, 1, 1 ], 10.0 );
29+
var out = ndarrayWith( x, [ 0, 1, 1 ], 10.0 );
3030
console.log( ndarray2array( out ) );

0 commit comments

Comments
 (0)