Skip to content

Commit cf124e0

Browse files
chore: update copyright year of include.gypi and fix lint error
--- 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: - 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 --- --- 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 8600f80 commit cf124e0

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var quantile = require( './../lib' );
3434
bench( pkg, function benchmark( b ) {
3535
var len;
3636
var mu;
37-
var c;
37+
var c;
3838
var p;
3939
var y;
4040
var i;

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var opts = {
4343
bench( pkg+'::native', opts, function benchmark( b ) {
4444
var len;
4545
var mu;
46-
var c;
46+
var c;
4747
var p;
4848
var y;
4949
var i;

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/benchmark/c/benchmark.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static void print_version( void ) {
3838
/**
3939
* Prints the TAP summary.
4040
*
41-
* @param total total number of tests
41+
* @param total total number of tests
4242
* @param passing total number of passing tests
4343
*/
4444
static void print_summary( int total, int passing ) {
@@ -78,9 +78,9 @@ static double tic( void ) {
7878
/**
7979
* Generates a random number on the interval [min,max).
8080
*
81-
* @param min minimum value (inclusive)
82-
* @param max maximum value (exclusive)
83-
* @return random number
81+
* @param min minimum value (inclusive)
82+
* @param max maximum value (exclusive)
83+
* @return random number
8484
*/
8585
static double random_uniform( const double min, const double max ) {
8686
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
@@ -94,15 +94,15 @@ static double random_uniform( const double min, const double max ) {
9494
*/
9595
static double benchmark( void ) {
9696
double elapsed;
97-
double p[ 100 ];
97+
double p[ 100 ];
9898
double mu[ 100 ];
9999
double c[ 100 ];
100100
double y;
101101
double t;
102102
int i;
103103

104104
for ( i = 0; i < 100; i++ ) {
105-
p[ i ] = random_uniform( 0.0, 100.0 );
105+
p[ i ] = random_uniform( 0.0, 100.0 );
106106
mu[ i ] = random_uniform( 0.0, 100.0 ) - 50.0;
107107
c[ i ] = random_uniform( 0.0, 20.0 ) + STDLIB_CONSTANT_FLOAT64_EPS;
108108
}

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ static double random_uniform( const double min, const double max ) {
2626
}
2727

2828
int main( void ) {
29-
double p;
29+
double p;
3030
double mu;
3131
double c;
3232
double y;
3333
int i;
3434

3535
for ( i = 0; i < 25; i++ ) {
36-
p = random_uniform( 0.0, 10.0 );
36+
p = random_uniform( 0.0, 10.0 );
3737
mu = random_uniform( 0.0, 10.0 ) - 5.0;
3838
c = random_uniform( 0.0, 20.0 );
3939
y = stdlib_base_dists_levy_quantile( p, mu, c );

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/include.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @license Apache-2.0
22
#
3-
# Copyright (c) 2024 The Stdlib Authors.
3+
# Copyright (c) 2025 The Stdlib Authors.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/stats/base/dists/levy/quantile/src/main.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2025 The Stdlib Authors.
4+
* Copyright (c) 2024 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -23,19 +23,19 @@
2323
/**
2424
* Returns the quantile for a Lévy distribution with location `mu` and scale `c`.
2525
*
26-
* @param p input value
27-
* @param mu location parameter
28-
* @param c scale parameter
29-
* @return evaluated quantile function
26+
* @param p input value
27+
* @param mu location parameter
28+
* @param c scale parameter
29+
* @return evaluated quantile function
3030
*
3131
* @example
3232
* double y = stdlib_base_levy_quantile( 1.1, 0.0, 1.0 );
3333
* // returns NaN
3434
*/
3535
double stdlib_base_dists_levy_quantile( const double p, const double mu, const double c ) {
36-
double fval;
36+
double fval;
3737
if (
38-
stdlib_base_is_nan( p ) ||
38+
stdlib_base_is_nan( p ) ||
3939
stdlib_base_is_nan( mu ) ||
4040
stdlib_base_is_nan( c ) ||
4141
c <= 0.0 ||

0 commit comments

Comments
 (0)