Skip to content

Commit a1e8864

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent f3680e3 commit a1e8864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/ext/base/wasm/dapx/test/test.module.ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ tape( 'the `ndarray` method returns a reference to the input array', function te
9797
t.end();
9898
});
9999

100-
tape( 'if provided an `N` parameter less than or equal to `0`, a module instance has a `main` method which leaves the output array unchanged', function test( t ) {
100+
tape( 'if provided an `N` parameter less than or equal to `0`, a module instance has a `ndarray` method which leaves the output array unchanged', function test( t ) {
101101
var expected;
102102
var actual;
103103
var mem;
@@ -115,7 +115,7 @@ tape( 'if provided an `N` parameter less than or equal to `0`, a module instance
115115
mod.write( xp, new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] ) );
116116
expected = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
117117

118-
mod.ndarray( -1, 5.0, xp, 1 );
118+
mod.ndarray( -1, 5.0, xp, 1, 0 );
119119
actual = new Float64Array( 5 );
120120
mod.read( xp, actual );
121121
t.deepEqual( actual, expected, 'returns expected value' );

0 commit comments

Comments
 (0)