Skip to content

Commit d273a7d

Browse files
committed
Auto-generated commit
1 parent 446ea15 commit d273a7d

File tree

7 files changed

+34
-78
lines changed

7 files changed

+34
-78
lines changed

.github/.keepalive

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-08-01T03:39:38.647Z

.gitignore

Lines changed: 2 additions & 0 deletions
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

Lines changed: 19 additions & 60 deletions
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-28)
8-
9-
No changes reported for this release.
10-
11-
</section>
5+
<section class="release" id="unreleased">
126

13-
<!-- /.release -->
14-
15-
<section class="release" id="v0.2.1">
16-
17-
## 0.2.1 (2024-02-24)
18-
19-
No changes reported for this release.
20-
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,61 +36,41 @@ 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.0">
61-
62-
## 0.1.0 (2023-09-23)
63-
64-
<section class="features">
39+
<section class="release" id="v0.2.2">
6540

66-
### Features
41+
## 0.2.2 (2024-07-28)
6742

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

7045
</section>
7146

72-
<!-- /.features -->
73-
74-
<section class="breaking-changes">
47+
<!-- /.release -->
7548

76-
### BREAKING CHANGES
49+
<section class="release" id="v0.2.1">
7750

78-
- [`a6edab8`](https://github.com/stdlib-js/stdlib/commit/a6edab846285d46ea65f51eac800b458b777b8bb): update minimum TypeScript version
79-
- [`a6edab8`](https://github.com/stdlib-js/stdlib/commit/a6edab846285d46ea65f51eac800b458b777b8bb): update minimum TypeScript version to 4.1
51+
## 0.2.1 (2024-02-24)
8052

81-
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
53+
No changes reported for this release.
8254

8355
</section>
8456

85-
<!-- /.breaking-changes -->
86-
87-
<section class="commits">
88-
89-
### Commits
57+
<!-- /.release -->
9058

91-
<details>
59+
<section class="release" id="v0.2.0">
9260

93-
- [`a6edab8`](https://github.com/stdlib-js/stdlib/commit/a6edab846285d46ea65f51eac800b458b777b8bb) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
94-
- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_
95-
- [`2771d58`](https://github.com/stdlib-js/stdlib/commit/2771d5835cdfd49de9ee17a00117b9d90749e821) - **docs:** render equations via math code blocks _(by Philipp Burckhardt)_
61+
## 0.2.0 (2024-02-14)
9662

97-
</details>
63+
No changes reported for this release.
9864

9965
</section>
10066

101-
<!-- /.commits -->
102-
103-
<section class="contributors">
104-
105-
### Contributors
106-
107-
A total of 2 people contributed to this release. Thank you to the following contributors:
67+
<!-- /.release -->
10868

109-
- Athan Reines
110-
- Philipp Burckhardt
69+
<section class="release" id="v0.1.0">
11170

112-
</section>
71+
## 0.1.0 (2023-09-23)
11372

114-
<!-- /.contributors -->
73+
No changes reported for this release.
11574

11675
</section>
11776

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
277277
[npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-dmeanpw.svg
278278
[npm-url]: https://npmjs.org/package/@stdlib/stats-base-dmeanpw
279279

280-
[test-image]: https://github.com/stdlib-js/stats-base-dmeanpw/actions/workflows/test.yml/badge.svg?branch=v0.2.2
281-
[test-url]: https://github.com/stdlib-js/stats-base-dmeanpw/actions/workflows/test.yml?query=branch:v0.2.2
280+
[test-image]: https://github.com/stdlib-js/stats-base-dmeanpw/actions/workflows/test.yml/badge.svg?branch=main
281+
[test-url]: https://github.com/stdlib-js/stats-base-dmeanpw/actions/workflows/test.yml?query=branch:main
282282

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

benchmark/c/benchmark.length.c

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

19-
/**
20-
* Benchmark `dmeanpw`.
21-
*/
2219
#include "stdlib/stats/base/dmeanpw.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/dmeanpw.h

Lines changed: 0 additions & 3 deletions
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_DMEANPW_H
2320
#define STDLIB_STATS_BASE_DMEANPW_H
2421

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"dependencies": {
4444
"@stdlib/assert-is-error": "^0.2.2",
45-
"@stdlib/blas-ext-base-dsumpw": "^0.2.1",
45+
"@stdlib/blas-ext-base-dsumpw": "^0.2.2",
4646
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2",
4747
"@stdlib/utils-library-manifest": "^0.2.2",
4848
"@stdlib/utils-try-require": "^0.2.2"
@@ -52,7 +52,7 @@
5252
"@stdlib/assert-is-browser": "^0.2.2",
5353
"@stdlib/math-base-assert-is-nan": "^0.2.2",
5454
"@stdlib/math-base-special-floor": "^0.2.3",
55-
"@stdlib/math-base-special-pow": "^0.2.1",
55+
"@stdlib/math-base-special-pow": "^0.3.0",
5656
"@stdlib/math-base-special-round": "^0.3.0",
5757
"@stdlib/random-base-randu": "^0.2.1",
5858
"proxyquire": "^2.0.0",

0 commit comments

Comments
 (0)