Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@
t.end();
});

tape( 'if provided a `stride` and `offset` parameter equal to `0` and the first element is NaN, the function returns `0`', function test( t ) {
var x;
var v;

Check failure on line 83 in lib/node_modules/@stdlib/blas/ext/base/dnanasumors/test/test.ndarray.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Trailing spaces not allowed
x = new Float64Array( [ NaN, -2.0, -4.0, 5.0, 3.0 ] );

Check failure on line 85 in lib/node_modules/@stdlib/blas/ext/base/dnanasumors/test/test.ndarray.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Trailing spaces not allowed
v = dnanasumors( x.length, x, 0, 0 );
t.strictEqual( v, 0.0, 'returns expected value' );

Check failure on line 88 in lib/node_modules/@stdlib/blas/ext/base/dnanasumors/test/test.ndarray.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Trailing spaces not allowed
t.end();
});

tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', function test( t ) {
var x;
var v;
Expand Down
Loading