Skip to content

Commit 197cb1e

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: 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: na - 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: 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 322c321 commit 197cb1e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/variance/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ int main( void ) {
233233
int i;
234234
235235
for ( i = 0; i < 25; i++ ) {
236-
alpha = random_uniform( 0.0, 10.0 );
237-
beta = random_uniform( 0.0, 10.0 );
236+
alpha = random_uniform( 0.1, 10.0 );
237+
beta = random_uniform( 0.1, 10.0 );
238238
y = stdlib_base_dists_pareto_type1_variance( alpha, beta );
239239
printf( "α: %lf, β: %lf, Var(X;α,β): %lf\n", alpha, beta, y );
240240
}

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/variance/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ int main( void ) {
3232
int i;
3333

3434
for ( i = 0; i < 25; i++ ) {
35-
alpha = random_uniform( 0.0, 10.0 );
36-
beta = random_uniform( 0.0, 10.0 );
35+
alpha = random_uniform( 0.1, 10.0 );
36+
beta = random_uniform( 0.1, 10.0 );
3737
y = stdlib_base_dists_pareto_type1_variance( alpha, beta );
3838
printf( "α: %lf, β: %lf, Var(X;α,β): %lf\n", alpha, beta, y );
3939
}

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/variance/include/stdlib/stats/base/dists/pareto-type1/variance.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-
* Returns the variance of a Pareto (Type I) distribution.
30+
* Evaluates the variance of a Pareto (Type I) distribution.
3131
*/
3232
double stdlib_base_dists_pareto_type1_variance( const double alpha, const double beta );
3333

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/variance/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
#include "stdlib/constants/float64/pinf.h"
2323

2424
/**
25-
* Returns the variance of a Pareto (Type I) distribution.
25+
* Evaluates the variance of a Pareto (Type I) distribution.
2626
*
2727
* @param alpha shape parameter
28-
* @param beta scale paramter
28+
* @param beta scale parameter
2929
* @return variance
3030
*
3131
* @example

0 commit comments

Comments
 (0)