Skip to content

Commit 4f7ce62

Browse files
authored
docs: fix C codeblocks in stats/base/dists/cosine/logcdf
PR-URL: #10959 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent 25adf7d commit 4f7ce62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/stats/base/dists/cosine/logcdf

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Evaluates the natural logarithm of the [cumulative distribution function][cdf] (
189189

190190
```c
191191
double out = stdlib_base_dists_cosine_logcdf( 0.5, 0.0, 1.0 );
192-
// returns ~0.909
192+
// returns ~-0.095
193193
```
194194

195195
The function accepts the following arguments:
@@ -221,7 +221,7 @@ double stdlib_base_dists_cosine_logcdf( const double x, const double mu, const d
221221
### Examples
222222
223223
```c
224-
#include "stdlib/stats/base/dists/cosine/cdf.h"
224+
#include "stdlib/stats/base/dists/cosine/logcdf.h"
225225
#include "stdlib/constants/float64/eps.h"
226226
#include <stdlib.h>
227227
#include <stdio.h>

0 commit comments

Comments
 (0)