Skip to content

Commit c4c4ed8

Browse files
committed
chore: minor 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: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: passed - 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 --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: passed - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: passed - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: passed - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 892e81e commit c4c4ed8

File tree

11 files changed

+12
-11
lines changed

11 files changed

+12
-11
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "stdlib/stats/base/dists/laplace/kurtosis.h"
2020
#include "stdlib/math/base/assert/is_nan.h"
2121

22-
2322
/**
2423
* Returns the excess kurtosis for a Laplace distribution with location `mu` and scale `b`.
2524
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @param mu location parameter
2727
* @param b scale parameter
28-
* @return stdev
28+
* @return standard deviation
2929
*
3030
* @example
3131
* double y = stdlib_base_laplace_stdev( 0.0, 1.0 );

lib/node_modules/@stdlib/stats/base/dists/uniform/mean/benchmark/benchmark.native.js

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

4040
// MAIN //
4141

42-
bench( pkg, opts, function benchmark( b ) {
42+
bench( pkg+'::native', opts, function benchmark( b ) {
4343
var len;
4444
var bnd;
4545
var a;

lib/node_modules/@stdlib/stats/base/dists/uniform/median/benchmark/benchmark.native.js

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

4040
// MAIN //
4141

42-
bench( pkg, opts, function benchmark( b ) {
42+
bench( pkg+'::native', opts, function benchmark( b ) {
4343
var len;
4444
var bnd;
4545
var a;

lib/node_modules/@stdlib/stats/base/dists/uniform/median/benchmark/c/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ run: $(c_targets)
143143
clean:
144144
$(QUIET) -rm -f *.o *.out
145145

146-
.PHONY: clean
146+
.PHONY: clean

lib/node_modules/@stdlib/stats/base/dists/uniform/median/benchmark/c/benchmark.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ static double random_uniform( const double min, const double max ) {
9393
*/
9494
static double benchmark( void ) {
9595
double elapsed;
96-
double a, b;
96+
double a;
97+
double b;
9798
double y;
9899
double t;
99100
int i;

lib/node_modules/@stdlib/stats/base/dists/uniform/median/binding.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@
167167
], # end actions
168168
}, # end target copy_addon
169169
], # end targets
170-
}
170+
}

lib/node_modules/@stdlib/stats/base/dists/uniform/median/examples/c/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ run: $(c_targets)
143143
clean:
144144
$(QUIET) -rm -f *.o *.out
145145

146-
.PHONY: clean
146+
.PHONY: clean

lib/node_modules/@stdlib/stats/base/dists/uniform/median/examples/c/example.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "stdlib/stats/base/dists/uniform/median.h"
2020
#include <stdlib.h>
2121
#include <stdio.h>
22+
2223
static double random_uniform( const double min, const double max ) {
2324
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
2425
return min + ( v*(max-min) );
@@ -34,6 +35,6 @@ int main( void ) {
3435
a = random_uniform( 0.0, 10.0 );
3536
b = random_uniform( a, 20.0 );
3637
y = stdlib_base_dists_uniform_median( a, b );
37-
printf( "a: %lf , b: %lf , Median(X;a,b): %lf\n", a, b, y );
38+
printf( "a: %lf , b: %lf, Median(X;a,b): %lf\n", a, b, y );
3839
}
3940
}

lib/node_modules/@stdlib/stats/base/dists/uniform/median/src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ clean-addon:
6767
#/
6868
clean: clean-addon
6969

70-
.PHONY: clean
70+
.PHONY: clean

0 commit comments

Comments
 (0)