Skip to content

Commit 59bb1b1

Browse files
chore: address commit comments
PR-URL: #7867 Closes: #5715 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 120567c commit 59bb1b1

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

lib/node_modules/@stdlib/stats/base/dists/geometric/logcdf/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ for ( i = 0; i < 10; i++ ) {
139139

140140
<!-- /.examples -->
141141

142-
<!-- Section to include cited references. If references are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
143-
144-
<section class="references">
145-
146142
<!-- C interface documentation. -->
147143

148144
* * *
@@ -209,7 +205,6 @@ double stdlib_base_dists_geometric_logcdf( const double x, const double p );
209205
#include "stdlib/stats/base/dists/geometric/logcdf.h"
210206
#include <stdlib.h>
211207
#include <stdio.h>
212-
#include <math.h>
213208
214209
static double random_uniform( const double min, const double max ) {
215210
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
@@ -233,6 +228,18 @@ int main( void ) {
233228

234229
</section>
235230

231+
<!-- /.examples -->
232+
233+
</section>
234+
235+
<!-- /.c -->
236+
237+
<!-- Section to include cited references. If references are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
238+
239+
<section class="references">
240+
241+
</section>
242+
236243
<!-- /.references -->
237244

238245
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->

lib/node_modules/@stdlib/stats/base/dists/geometric/logcdf/examples/c/example.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/geometric/logcdf.h"
2020
#include <stdlib.h>
2121
#include <stdio.h>
22-
#include <math.h>
2322

2423
static double random_uniform( const double min, const double max ) {
2524
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );

0 commit comments

Comments
 (0)