Skip to content

Commit e3378cb

Browse files
committed
add requested suggestions
1 parent 5532193 commit e3378cb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ double out = stdlib_base_dists_halfnormal_variance( 1.0 );
178178
The function accepts the following arguments:
179179

180180
- **sigma**: `[in] double` scale parameter.
181-
- **return**: `[out] double` variance.
182181

183182
```c
184183
double stdlib_base_dists_halfnormal_variance( const double sigma );

lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/test.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ tape( 'main export is a function', opts, function test( t ) {
5252

5353
tape( 'if provided `NaN`, the function returns `NaN`', opts, function test( t ) {
5454
var y = variance( NaN );
55-
t.strictEqual( isnan( y ), true, 'returns NaN' );
55+
t.strictEqual( isnan( y ), true, 'returns expected value' );
5656
t.end();
5757
});
5858

5959
tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', opts, function test( t ) {
6060
var y;
6161

6262
y = variance( 0.0 );
63-
t.strictEqual( isnan( y ), true, 'returns NaN' );
63+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6464

6565
y = variance( -1.0 );
66-
t.strictEqual( isnan( y ), true, 'returns NaN' );
66+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6767

6868
y = variance( NINF );
6969
t.strictEqual( isnan( y ), true, 'returns expected value' );

0 commit comments

Comments
 (0)