Skip to content

Commit e0297c5

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

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ static double random_uniform( const double min, const double max ) {
219219
}
220220
221221
int main( void ) {
222-
double p;
223222
double mu;
223+
double p;
224224
double c;
225225
double y;
226226
int i;

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ static double random_uniform( const double min, const double max ) {
2626
}
2727

2828
int main( void ) {
29-
double p;
3029
double mu;
30+
double p;
3131
double c;
3232
double y;
3333
int i;

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/include/stdlib/stats/base/dists/levy/quantile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Returns the quantile for a Lévy distribution with location `mu` and scale `c`.
30+
* Evaluates the quantile function for a Lévy distribution with location parameter `mu` and scale parameter `c` at a probability `p`.
3131
*/
3232
double stdlib_base_dists_levy_quantile( const double p, const double mu, const double c );
3333

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/src/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
/**
2424
* Returns the quantile for a Lévy distribution with location `mu` and scale `c`.
2525
*
26-
* @param p input value
27-
* @param mu location parameter
28-
* @param c scale parameter
29-
* @return evaluated quantile function
26+
* @param p input value
27+
* @param mu location parameter
28+
* @param c scale parameter
29+
* @return evaluated quantile function
3030
*
3131
* @example
3232
* double y = stdlib_base_levy_quantile( 0.8, 0.0, 1.0 );

0 commit comments

Comments
 (0)