Skip to content

Commit 04dd93c

Browse files
PlaneshifterLokeshranjan8
authored andcommitted
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: na - 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 134ba85 commit 04dd93c

File tree

3 files changed

+6
-6
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/signrank/pdf

3 files changed

+6
-6
lines changed

lib/node_modules/@stdlib/stats/base/dists/signrank/pdf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ for ( i = 0; i < 10; i++ ) {
152152
#include "stdlib/stats/base/dists/signrank/pdf.h"
153153
```
154154

155-
#### stdlib_base_dists_signrank_cdf( x, n )
155+
#### stdlib_base_dists_signrank_pdf( x, n )
156156

157157
Evaluates the probability density function (PDF) of the Wilcoxon signed rank test statistic with `n` observations.
158158

@@ -167,7 +167,7 @@ The function accepts the following arguments:
167167
- **n**: `[in] double` number of observations.
168168

169169
```c
170-
double stdlib_base_dists_signrank_cdf( double x, const double n );
170+
double stdlib_base_dists_signrank_pdf( double x, const double n );
171171
```
172172
173173
</section>

lib/node_modules/@stdlib/stats/base/dists/signrank/pdf/benchmark/c/benchmark.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 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.
@@ -101,8 +101,8 @@ static double benchmark( void ) {
101101
int i;
102102

103103
for ( i = 0; i < 100; i++ ) {
104-
x[ i ] = random_uniform( 0, 30.0 );
105-
n[ i ] = stdlib_base_ceil(random_uniform( 1, 30.0 ));
104+
x[ i ] = random_uniform( 0.0, 30.0 );
105+
n[ i ] = stdlib_base_ceil(random_uniform( 1.0, 30.0 ));
106106
}
107107

108108
t = tic();

lib/node_modules/@stdlib/stats/base/dists/signrank/pdf/include/stdlib/stats/base/dists/signrank/pdf.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-
* Evaluates the cumulative distribution function (PDF) of the Wilcoxon signed rank test statistic with `n` observations.
30+
* Evaluates the probability density function (PDF) of the Wilcoxon signed rank test statistic with `n` observations.
3131
*/
3232
double stdlib_base_dists_signrank_pdf( double x, const double n );
3333

0 commit comments

Comments
 (0)