Skip to content

Commit a9c5bd5

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 7b7f37f commit a9c5bd5

File tree

7 files changed

+13
-14
lines changed

7 files changed

+13
-14
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ for ( i = 0; i < 100; i++ ) {
173173

174174
#### stdlib_base_dists_laplace_logcdf( x, mu, b )
175175

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

178178
```c
179179
double out = stdlib_base_dists_laplace_logcdf( 2.0, 0.0, 1.0 );

lib/node_modules/@stdlib/stats/base/dists/laplace/logcdf/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/logcdf/include/stdlib/stats/base/dists/laplace/logcdf.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
#ifndef STDLIB_STATS_BASE_DISTS_LOGCDF_MODE_H
20-
#define STDLIB_STATS_BASE_DISTS_LOGCDF_MODE_H
19+
#ifndef STDLIB_STATS_BASE_DISTS_LAPLACE_LOGCDF_H
20+
#define STDLIB_STATS_BASE_DISTS_LAPLACE_LOGCDF_H
2121

2222
/*
2323
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler.
@@ -27,12 +27,12 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Returns the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at value `x`.
30+
* Returns the logarithm of 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_logcdf( const double x, const double mu, const double b );
3333

3434
#ifdef __cplusplus
3535
}
3636
#endif
3737

38-
#endif // !STDLIB_STATS_BASE_DISTS_LOGCDF_MODE_H
38+
#endif // !STDLIB_STATS_BASE_DISTS_LAPLACE_LOGCDF_H

lib/node_modules/@stdlib/stats/base/dists/laplace/logcdf/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/logcdf.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_logcdf )

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "stdlib/constants/float64/ln_half.h"
2424

2525
/**
26-
* Returns the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at value `x`.
26+
* Returns the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at a value `x`.
2727
*
2828
* @param x input value
2929
* @param mu location parameter

lib/node_modules/@stdlib/stats/base/dists/laplace/logpdf/include/stdlib/stats/base/dists/laplace/logpdf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
#ifndef STDLIB_STATS_BASE_DISTS_LOGPDF_H
20-
#define STDLIB_STATS_BASE_DISTS_LOGPDF_H
19+
#ifndef STDLIB_STATS_BASE_DISTS_LAPLACE_LOGPDF_H
20+
#define STDLIB_STATS_BASE_DISTS_LAPLACE_LOGPDF_H
2121

2222
/*
2323
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler.
@@ -35,4 +35,4 @@ double stdlib_base_dists_laplace_logpdf( const double x, const double mu, const
3535
}
3636
#endif
3737

38-
#endif // !STDLIB_STATS_BASE_DISTS_LOGPDF_H
38+
#endif // !STDLIB_STATS_BASE_DISTS_LAPLACE_LOGPDF_H

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
#ifndef STDLIB_STATS_BASE_DISTS_QUANTILE_H
20-
#define STDLIB_STATS_BASE_DISTS_QUANTILE_H
19+
#ifndef STDLIB_STATS_BASE_DISTS_LAPLACE_QUANTILE_H
20+
#define STDLIB_STATS_BASE_DISTS_LAPLACE_QUANTILE_H
2121

2222
/*
2323
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler.
@@ -35,4 +35,4 @@ double stdlib_base_dists_laplace_quantile( const double p, const double mu, cons
3535
}
3636
#endif
3737

38-
#endif // !STDLIB_STATS_BASE_DISTS_QUANTILE_H
38+
#endif // !STDLIB_STATS_BASE_DISTS_LAPLACE_QUANTILE_H

0 commit comments

Comments
 (0)