Skip to content

Commit a04cc5e

Browse files
committed
feat: add C implementation for cosine mean
1 parent 76e7271 commit a04cc5e

File tree

1 file changed

+3
-0
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/cosine/mean/test

1 file changed

+3
-0
lines changed

lib/node_modules/@stdlib/stats/base/dists/cosine/mean/test/test.native.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ tape( 'if provided `s <= 0.0`, the function returns `NaN`', opts, function test(
6767
y = mean( 3.0, 0.0 );
6868
t.equal( isnan( y ), true, 'returns NaN' );
6969

70+
y = mean( 0.0, 0.0 );
71+
t.equal( isnan( y ), true, 'returns NaN' );
72+
7073
y = mean( 2.0, -2.0 );
7174
t.equal( isnan( y ), true, 'returns NaN' );
7275

0 commit comments

Comments
 (0)