Skip to content

Commit c4ed64c

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: na - 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: na - 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: passed - 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 fd578c4 commit c4ed64c

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/mean/benchmark/c/benchmark.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ static double benchmark( void ) {
100100
int i;
101101

102102
for ( i = 0; i < 100; i++ ) {
103-
a[i] = random_uniform( 0.0, 10.0 );
104-
b[i] = random_uniform( 0.0, 10.0 );
103+
a[ i ] = random_uniform( 0.0, 10.0 );
104+
b[ i ] = random_uniform( 0.0, 10.0 );
105105
}
106106

107107
t = tic();

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/mean/src/addon.c

-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@
1919
#include "stdlib/stats/base/dists/kumaraswamy/mean.h"
2020
#include "stdlib/math/base/napi/binary.h"
2121

22-
// cppcheck-suppress shadowFunction
2322
STDLIB_MATH_BASE_NAPI_MODULE_DD_D( stdlib_base_dists_kumaraswamy_mean )

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/mean/src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ double stdlib_base_dists_kumaraswamy_mean( const double a, const double b ) {
4040
) {
4141
return 0.0/0.0; // NaN
4242
}
43-
return b * stdlib_base_beta( 1.0 + (1.0 / a), b );
43+
return b * stdlib_base_beta( 1.0 + ( 1.0/a ), b );
4444
}

0 commit comments

Comments
 (0)