Skip to content

Commit 40461dd

Browse files
committed
chore: clean-up
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 0f61a64 commit 40461dd

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

lib/node_modules/@stdlib/stats/base/dists/laplace/cdf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ for ( i = 0; i < 100; i++ ) {
163163

164164
#### stdlib_base_dists_laplace_cdf( x, mu, b )
165165

166-
Evaluates the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at value `x`.
166+
Evaluates the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at a value `x`.
167167

168168
```c
169169
double out = stdlib_base_dists_laplace_cdf( 2.0, 0.0, 1.0 );
@@ -219,7 +219,7 @@ int main( void ) {
219219
mu = random_uniform( -5.0, 5.0 );
220220
b = random_uniform( 0.0, 20.0 );
221221
x = random_uniform( 0.0, 1.0 );
222-
y = stdlib_base_dists_laplace_cdf( p, mu, b );
222+
y = stdlib_base_dists_laplace_cdf( x, mu, b );
223223
printf( "x: %lf, µ: %lf, b: %lf, F(x;µ,b): %lf\n", x, mu, b, y );
224224
}
225225
}

lib/node_modules/@stdlib/stats/base/dists/laplace/cdf/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var opts = {
4040

4141
// MAIN //
4242

43-
bench( pkg, opts, function benchmark( b ) {
43+
bench( pkg+'::native', opts, function benchmark( b ) {
4444
var scale;
4545
var len;
4646
var mu;

lib/node_modules/@stdlib/stats/base/dists/laplace/cdf/include/stdlib/stats/base/dists/laplace/cdf.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-
* Evaluates the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at value `x`.
30+
* Evaluates the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at a value `x`.
3131
*/
3232
double stdlib_base_dists_laplace_cdf( const double x, const double mu, const double b );
3333

lib/node_modules/@stdlib/stats/base/dists/laplace/cdf/src/addon.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@
1919
#include "stdlib/stats/base/dists/laplace/cdf.h"
2020
#include "stdlib/math/base/napi/ternary.h"
2121

22-
// cppcheck-suppress shadowFunction
2322
STDLIB_MATH_BASE_NAPI_MODULE_DDD_D( stdlib_base_dists_laplace_cdf )

lib/node_modules/@stdlib/stats/base/dists/laplace/cdf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "stdlib/math/base/special/exp.h"
2222

2323
/**
24-
* Evaluates the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at value `x`.
24+
* Evaluates the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at a value `x`.
2525
*
2626
* @param x input value
2727
* @param mu location parameter

0 commit comments

Comments
 (0)