Skip to content

Commit 51975cd

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

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

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

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

160160
#### stdlib_base_dists_gumbel_kurtosis( mu, beta )
161161

162-
Evaluates the [excess kurtosis][kurtosis] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`.
162+
Returns the [excess kurtosis][kurtosis] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`.
163163

164164
```c
165165
double out = stdlib_base_dists_gumbel_kurtosis( 0.0, 1.0 );

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static double benchmark( void ) {
102102

103103
for ( i = 0; i < 100; i++ ) {
104104
mu[ i ] = random_uniform( -50.0, 50.0 );
105-
beta[ i ] = random_uniform( 0.0, 20.0 ) + STDLIB_CONSTANT_FLOAT64_EPS;
105+
beta[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 20.0 );
106106
}
107107

108108
t = tic();

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "stdlib/stats/base/dists/gumbel/kurtosis.h"
2020
#include "stdlib/math/base/assert/is_nan.h"
2121

22-
2322
/**
2423
* Returns the excess kurtosis for a Gumbel distribution with location `mu` and scale `beta`.
2524
*

0 commit comments

Comments
 (0)