Skip to content

Commit 1ea2bdf

Browse files
authored
chore: address commit comments
PR-URL: #5757 Closes: #5747 Reviewed-by: Philipp Burckhardt <[email protected]> Reviewed-by: Gururaj Gurram <[email protected]>
1 parent befe02c commit 1ea2bdf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/hypergeometric/logpmf/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ The function accepts the following arguments:
200200
- **n**: `[in] int32_t` number of draws.
201201

202202
```c
203-
double stdlib_base_dists_hypergeometric_logpmf ( const double x, const int32_t N, const int32_t K, const int32_t n );
203+
double stdlib_base_dists_hypergeometric_logpmf( const double x, const int32_t N, const int32_t K, const int32_t n );
204204
```
205205
206206
</section>

lib/node_modules/@stdlib/stats/base/dists/hypergeometric/logpmf/src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <stdint.h>
2727

2828
/**
29-
* Evaluates the natural logarithm of the probability mass function (PMF) for a hypergeometric distribution with population size `N`, subpopulation size `K` and number of draws `n`.
29+
* Evaluates the natural logarithm of the probability mass function (PMF) for a hypergeometric distribution with population size `N`, subpopulation size `K`, and number of draws `n`.
3030
*
3131
* @param x input value
3232
* @param N population size

lib/node_modules/@stdlib/stats/base/dists/hypergeometric/logpmf/test/test.native.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ tape( 'if provided an integer `x` greater than `min( n, K )`, the function retur
6868
t.equal( y, NINF, 'returns expected value' );
6969

7070
y = logpmf( 100, 20, 20, 10 );
71-
t.equal( y, NINF, 'returns -Infinity' );
71+
t.equal( y, NINF, 'returns expected value' );
7272

7373
t.end();
7474
});

0 commit comments

Comments
 (0)