Skip to content

Commit 22a9cec

Browse files
committed
test: fix col strides
--- 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: na - task: lint_javascript_tests status: passed - 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 3d3ff82 commit 22a9cec

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/ndarray/base/includes/test

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/includes/test/test.2d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ tape( 'the function tests whether a 2-dimensional ndarray contains a specified v
11211121
dt = 'complex128';
11221122
ord = 'column-major';
11231123
sh = [ 2, 2 ];
1124-
st = [ 4, -1 ];
1124+
st = [ -1, 4 ];
11251125
o = strides2offset( sh, st );
11261126
xbuf = oneTo( 8*2, 'float64' );
11271127

@@ -1330,7 +1330,7 @@ tape( 'the function tests whether a 2-dimensional ndarray contains a specified v
13301330
dt = 'float64';
13311331
ord = 'column-major';
13321332
sh = [ 2, 2 ];
1333-
st = [ 4, -1 ];
1333+
st = [ -1, 4 ];
13341334
o = strides2offset( sh, st );
13351335

13361336
x = ndarray( dt, toAccessorArray( oneTo( 8, dt ) ), sh, st, o, ord );

0 commit comments

Comments
 (0)