Skip to content

Commit 1792251

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

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/node_modules/@stdlib/blas/ext/base/gvander/test/test.ndarray.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ tape( 'the function returns the output matrix (accessors)', function test( t ) {
282282
t.end();
283283
});
284284

285-
tape( 'if provided an `M` equal to `0`, the function early returns', function test( t ) {
285+
tape( 'if provided an `M` equal to `0`, the function returns the output matrix unchanged', function test( t ) {
286286
var out;
287287
var x;
288288

@@ -295,7 +295,7 @@ tape( 'if provided an `M` equal to `0`, the function early returns', function te
295295
t.end();
296296
});
297297

298-
tape( 'if provided an `N` equal to `0`, the function early returns', function test( t ) {
298+
tape( 'if provided an `N` equal to `0`, the function returns the output matrix unchanged', function test( t ) {
299299
var out;
300300
var x;
301301

@@ -645,9 +645,9 @@ tape( 'the function supports complex access patterns', function test( t ) {
645645
];
646646
out = [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ];
647647

648-
gvander( 1, 2, 3, x, 2, 1, out, 3, 1, 0 );
648+
gvander( 1, 2, 3, x, 2, 1, out, 3, -1, 2 );
649649

650-
expected = [ 1.0, 2.0, 4.0, 1.0, 3.0, 9.0 ];
650+
expected = [ 4.0, 2.0, 1.0, 9.0, 3.0, 1.0 ];
651651

652652
t.deepEqual( out, expected, 'returns expected value' );
653653
t.end();

0 commit comments

Comments
 (0)