Skip to content

Commit 51d9894

Browse files
committed
Auto-generated commit
1 parent 6a1549d commit 51d9894

File tree

7 files changed

+42
-86
lines changed

7 files changed

+42
-86
lines changed

.github/.keepalive

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-08-01T01:26:43.959Z

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ docs/**/node_modules/
101101
pids
102102
*.pid
103103
*.seed
104+
yarn.lock
105+
package-lock.json
104106

105107
# Typescript #
106108
##############

CHANGELOG.md

+21-62
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,17 @@
22

33
> Package changelog.
44
5-
<section class="release" id="v0.2.2">
6-
7-
## 0.2.2 (2024-07-27)
8-
9-
No changes reported for this release.
10-
11-
</section>
12-
13-
<!-- /.release -->
14-
15-
<section class="release" id="v0.2.1">
16-
17-
## 0.2.1 (2024-02-22)
18-
19-
No changes reported for this release.
5+
<section class="release" id="unreleased">
206

21-
</section>
22-
23-
<!-- /.release -->
24-
25-
<section class="release" id="v0.2.0">
26-
27-
## 0.2.0 (2024-02-14)
7+
## Unreleased (2024-08-01)
288

299
<section class="commits">
3010

3111
### Commits
3212

3313
<details>
3414

35-
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
36-
- [`bf2cf8b`](https://github.com/stdlib-js/stdlib/commit/bf2cf8b0424e608a4e3abb6d18a8b44d790aa99c) - **build:** remove tslint directives _(by Philipp Burckhardt)_
15+
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
3716

3817
</details>
3918

@@ -47,7 +26,7 @@ No changes reported for this release.
4726

4827
A total of 1 person contributed to this release. Thank you to this contributor:
4928

50-
- Philipp Burckhardt
29+
- Athan Reines
5130

5231
</section>
5332

@@ -57,71 +36,51 @@ A total of 1 person contributed to this release. Thank you to this contributor:
5736

5837
<!-- /.release -->
5938

60-
<section class="release" id="v0.1.1">
39+
<section class="release" id="v0.2.2">
6140

62-
## 0.1.1 (2023-10-04)
41+
## 0.2.2 (2024-07-27)
6342

6443
No changes reported for this release.
6544

6645
</section>
6746

6847
<!-- /.release -->
6948

70-
<section class="release" id="v0.1.0">
71-
72-
## 0.1.0 (2023-09-22)
73-
74-
<section class="features">
49+
<section class="release" id="v0.2.1">
7550

76-
### Features
51+
## 0.2.1 (2024-02-22)
7752

78-
- [`a6edab8`](https://github.com/stdlib-js/stdlib/commit/a6edab846285d46ea65f51eac800b458b777b8bb) - update minimum TypeScript version
53+
No changes reported for this release.
7954

8055
</section>
8156

82-
<!-- /.features -->
83-
84-
<section class="breaking-changes">
57+
<!-- /.release -->
8558

86-
### BREAKING CHANGES
59+
<section class="release" id="v0.2.0">
8760

88-
- [`a6edab8`](https://github.com/stdlib-js/stdlib/commit/a6edab846285d46ea65f51eac800b458b777b8bb): update minimum TypeScript version
89-
- [`a6edab8`](https://github.com/stdlib-js/stdlib/commit/a6edab846285d46ea65f51eac800b458b777b8bb): update minimum TypeScript version to 4.1
61+
## 0.2.0 (2024-02-14)
9062

91-
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
63+
No changes reported for this release.
9264

9365
</section>
9466

95-
<!-- /.breaking-changes -->
96-
97-
<section class="commits">
98-
99-
### Commits
67+
<!-- /.release -->
10068

101-
<details>
69+
<section class="release" id="v0.1.1">
10270

103-
- [`a6edab8`](https://github.com/stdlib-js/stdlib/commit/a6edab846285d46ea65f51eac800b458b777b8bb) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
104-
- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_
105-
- [`2771d58`](https://github.com/stdlib-js/stdlib/commit/2771d5835cdfd49de9ee17a00117b9d90749e821) - **docs:** render equations via math code blocks _(by Philipp Burckhardt)_
71+
## 0.1.1 (2023-10-04)
10672

107-
</details>
73+
No changes reported for this release.
10874

10975
</section>
11076

111-
<!-- /.commits -->
112-
113-
<section class="contributors">
114-
115-
### Contributors
116-
117-
A total of 2 people contributed to this release. Thank you to the following contributors:
77+
<!-- /.release -->
11878

119-
- Athan Reines
120-
- Philipp Burckhardt
79+
<section class="release" id="v0.1.0">
12180

122-
</section>
81+
## 0.1.0 (2023-09-22)
12382

124-
<!-- /.contributors -->
83+
No changes reported for this release.
12584

12685
</section>
12786

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
326326
[npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-dvarianceyc.svg
327327
[npm-url]: https://npmjs.org/package/@stdlib/stats-base-dvarianceyc
328328

329-
[test-image]: https://github.com/stdlib-js/stats-base-dvarianceyc/actions/workflows/test.yml/badge.svg?branch=v0.2.2
330-
[test-url]: https://github.com/stdlib-js/stats-base-dvarianceyc/actions/workflows/test.yml?query=branch:v0.2.2
329+
[test-image]: https://github.com/stdlib-js/stats-base-dvarianceyc/actions/workflows/test.yml/badge.svg?branch=main
330+
[test-url]: https://github.com/stdlib-js/stats-base-dvarianceyc/actions/workflows/test.yml?query=branch:main
331331

332332
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dvarianceyc/main.svg
333333
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dvarianceyc?branch=main

benchmark/c/benchmark.length.c

+8-11
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Benchmark `dvarianceyc`.
21-
*/
2219
#include "stdlib/stats/base/dvarianceyc.h"
2320
#include <stdlib.h>
2421
#include <stdio.h>
@@ -35,7 +32,7 @@
3532
/**
3633
* Prints the TAP version.
3734
*/
38-
void print_version() {
35+
static void print_version( void ) {
3936
printf( "TAP version 13\n" );
4037
}
4138

@@ -45,7 +42,7 @@ void print_version() {
4542
* @param total total number of tests
4643
* @param passing total number of passing tests
4744
*/
48-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4946
printf( "#\n" );
5047
printf( "1..%d\n", total ); // TAP plan
5148
printf( "# total %d\n", total );
@@ -60,7 +57,7 @@ void print_summary( int total, int passing ) {
6057
* @param iterations number of iterations
6158
* @param elapsed elapsed time in seconds
6259
*/
63-
void print_results( int iterations, double elapsed ) {
60+
static void print_results( int iterations, double elapsed ) {
6461
double rate = (double)iterations / elapsed;
6562
printf( " ---\n" );
6663
printf( " iterations: %d\n", iterations );
@@ -74,30 +71,30 @@ void print_results( int iterations, double elapsed ) {
7471
*
7572
* @return clock time
7673
*/
77-
double tic() {
74+
static double tic( void ) {
7875
struct timeval now;
7976
gettimeofday( &now, NULL );
8077
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
8178
}
8279

8380
/**
84-
* Generates a random number on the interval [0,1].
81+
* Generates a random number on the interval [0,1).
8582
*
8683
* @return random number
8784
*/
88-
double rand_double() {
85+
static double rand_double( void ) {
8986
int r = rand();
9087
return (double)r / ( (double)RAND_MAX + 1.0 );
9188
}
9289

93-
/*
90+
/**
9491
* Runs a benchmark.
9592
*
9693
* @param iterations number of iterations
9794
* @param len array length
9895
* @return elapsed time in seconds
9996
*/
100-
double benchmark( int iterations, int len ) {
97+
static double benchmark( int iterations, int len ) {
10198
double elapsed;
10299
double x[ len ];
103100
double v;

include/stdlib/stats/base/dvarianceyc.h

-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Header file containing function declarations.
21-
*/
2219
#ifndef STDLIB_STATS_BASE_DVARIANCEYC_H
2320
#define STDLIB_STATS_BASE_DVARIANCEYC_H
2421

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,22 @@
4343
"dependencies": {
4444
"@stdlib/assert-is-error": "^0.2.2",
4545
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2",
46-
"@stdlib/utils-library-manifest": "^0.2.1",
46+
"@stdlib/utils-library-manifest": "^0.2.2",
4747
"@stdlib/utils-try-require": "^0.2.2"
4848
},
4949
"devDependencies": {
50-
"@stdlib/array-float64": "^0.2.1",
51-
"@stdlib/assert-is-browser": "^0.2.1",
52-
"@stdlib/math-base-assert-is-nan": "^0.2.1",
53-
"@stdlib/math-base-special-floor": "^0.2.2",
54-
"@stdlib/math-base-special-pow": "^0.2.1",
55-
"@stdlib/math-base-special-round": "^0.2.1",
50+
"@stdlib/array-float64": "^0.2.2",
51+
"@stdlib/assert-is-browser": "^0.2.2",
52+
"@stdlib/math-base-assert-is-nan": "^0.2.2",
53+
"@stdlib/math-base-special-floor": "^0.2.3",
54+
"@stdlib/math-base-special-pow": "^0.3.0",
55+
"@stdlib/math-base-special-round": "^0.3.0",
5656
"@stdlib/random-base-randu": "^0.2.1",
5757
"proxyquire": "^2.0.0",
5858
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5959
"istanbul": "^0.4.1",
6060
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
61-
"@stdlib/bench-harness": "^0.2.1"
61+
"@stdlib/bench-harness": "^0.2.2"
6262
},
6363
"engines": {
6464
"node": ">=0.10.0",

0 commit comments

Comments
 (0)