Skip to content

Commit 988bcd8

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

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ static double random_uniform( const double min, const double max ) {
184184
185185
int main( void ) {
186186
double result;
187-
double p;
188187
double mu;
188+
double p;
189189
int i;
190190
191191
for ( i = 0; i < 10; i++ ) {

lib/node_modules/@stdlib/stats/base/dists/degenerate/quantile/benchmark/c/benchmark.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ static double random_uniform( const double min, const double max ) {
6161
}
6262

6363
static double benchmark( void ) {
64-
double elapsed;
65-
double p[ 100 ];
6664
double mu[ 100 ];
67-
double y;
65+
double p[ 100 ];
66+
double elapsed;
6867
double start;
68+
double y;
6969
int i;
7070

7171
for ( i = 0; i < 100; i++ ) {

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ extern "C" {
2828

2929
/**
3030
* Evaluates the quantile function for a degenerate distribution centered at `mu`.
31-
*
32-
* @param p input value
33-
* @param mu constant value of the distribution
34-
* @return evaluated quantile function
3531
*/
3632
double stdlib_base_dists_degenerate_quantile( const double p, const double mu );
3733

0 commit comments

Comments
 (0)