Skip to content

Commit bc4eb15

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 51879fe commit bc4eb15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/ndarray/base/to-reversed-dimensions/test

lib/node_modules/@stdlib/ndarray/base/to-reversed-dimensions/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ tape( 'the function supports higher-dimensional ndarrays', function test( t ) {
368368
buf = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ];
369369
x = new base( 'generic', buf, [ 2, 2, 3 ], [ 6, 3, 1 ], 0, 'row-major' );
370370

371-
// Reverse all axes:
371+
// Reverse all dimensions:
372372
arr = toReversedDimensions( x, [ 0, 1, 2 ] );
373373
t.deepEqual( getShape( arr ), [ 2, 2, 3 ], 'returns expected value' );
374374
expected = [
@@ -377,7 +377,7 @@ tape( 'the function supports higher-dimensional ndarrays', function test( t ) {
377377
];
378378
t.deepEqual( ndarray2array( arr ), expected, 'returns expected value' );
379379

380-
// Reverse only the last two axes:
380+
// Reverse only the last two dimensions:
381381
arr = toReversedDimensions( x, [ 1, 2 ] );
382382
expected = [
383383
[ [ 6, 5, 4 ], [ 3, 2, 1 ] ],

0 commit comments

Comments
 (0)