Skip to content

Commit 9ca5b7f

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

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/logistic/stdev/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_logistic_stdev( mu, s )
161161

162-
Evaluates the [standard deviation][standard-deviation] for a [logistic][logistic-distribution] distribution with location parameter `mu` and scale parameter `s`.
162+
Returns the [standard deviation][standard-deviation] for a [logistic][logistic-distribution] distribution with location parameter `mu` and scale parameter `s`.
163163

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

lib/node_modules/@stdlib/stats/base/dists/logistic/stdev/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-
s[ i ] = random_uniform( 0.0, 20.0 ) + STDLIB_CONSTANT_FLOAT64_EPS;
105+
s[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 20.0 );
106106
}
107107

108108
t = tic();

lib/node_modules/@stdlib/stats/base/dists/logistic/stdev/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "stdlib/constants/float64/pi.h"
2222
#include "stdlib/constants/float64/sqrt_three.h"
2323

24-
2524
/**
2625
* Returns the standard deviation for a logistic distribution with location `mu` and scale `s`.
2726
*

0 commit comments

Comments
 (0)