Skip to content

Commit 6747cb4

Browse files
authored
chore: apply suggestions from code review
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent fb72155 commit 6747cb4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ for ( i = 0; i < 100; i++ ) {
166166

167167
#### stdlib_base_dists_gumbel_cdf( x, mu, beta )
168168

169-
Evaluates the cumulative distribution function (CDF) for a Gumbel distribution
169+
Evaluates the [cumulative distribution function][cdf] (CDF) for a [Gumbel][gumbel-distribution] distribution with parameters `mu` (location parameter) and `beta` (scale parameter).
170170

171171
```c
172172
double out = stdlib_base_dists_gumbel_cdf( 10.0, 0.0, 3.0 );

lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ static double benchmark( void ) {
102102
int i;
103103

104104
for ( i = 0; i < 100; i++ ) {
105-
x[ i ] = random_uniform( -100.0, 100.0);
105+
x[ i ] = random_uniform( -100.0, 100.0 );
106106
mu[ i ] = random_uniform( -50.0, 50.0 );
107-
beta[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, STDLIB_CONSTANT_FLOAT64_EPS + 20.0 );
107+
beta[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 20.0 );
108108
}
109109

110110
t = tic();

lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @return evaluated CDF
3030
*
3131
* @example
32-
* double y = stdlib_base_gumbel_cdf( 10.0, 0.0, 3.0 );
32+
* double y = stdlib_base_dists_gumbel_cdf( 10.0, 0.0, 3.0 );
3333
* // returns ~0.965
3434
*/
3535
double stdlib_base_dists_gumbel_cdf( const double x, const double mu, const double beta ) {

0 commit comments

Comments
 (0)