Skip to content

Commit 6fd7050

Browse files
committed
fix: remove unused <math.h> header from main.c
1 parent 5d6ec0d commit 6fd7050

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

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

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

144144
<!-- /.examples -->
145145

146-
<!-- 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. -->
147-
148-
<section class="references">
149-
150146
<!-- C interface documentation. -->
151147

152148
* * *
@@ -211,7 +207,6 @@ double stdlib_base_dists_geometric_logpmf( const double x, const double p );
211207
212208
```c
213209
#include "stdlib/stats/base/dists/geometric/logpmf.h"
214-
#include "stdlib/math/base/special/round.h"
215210
#include <stdlib.h>
216211
#include <stdio.h>
217212
#include <math.h>
@@ -238,8 +233,14 @@ int main( void ) {
238233

239234
</section>
240235

236+
<!-- /.c -->
237+
241238
<!-- /.references -->
242239

240+
<!-- 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. -->
241+
242+
<section class="references">
243+
243244
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
244245

245246
<section class="related">

lib/node_modules/@stdlib/stats/base/dists/geometric/logpmf/examples/c/example.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818

1919
#include "stdlib/stats/base/dists/geometric/logpmf.h"
20-
#include "stdlib/math/base/special/round.h"
2120
#include <stdlib.h>
2221
#include <stdio.h>
2322
#include <math.h>

lib/node_modules/@stdlib/stats/base/dists/geometric/logpmf/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "stdlib/math/base/assert/is_nan.h"
2222
#include "stdlib/math/base/special/ln.h"
2323
#include "stdlib/constants/float64/ninf.h"
24-
#include <math.h>
2524

2625
/**
2726
* Evaluates the logarithm of the probability mass function (PMF) for a geometric distribution with success probability `p` at a value `x`.

0 commit comments

Comments
 (0)