Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Aug 1, 2024
1 parent ad23789 commit f432b83
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 86 deletions.
1 change: 1 addition & 0 deletions .github/.keepalive
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2024-08-01T01:26:49.087Z
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ docs/**/node_modules/
pids
*.pid
*.seed
yarn.lock
package-lock.json

# Typescript #
##############
Expand Down
83 changes: 21 additions & 62 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,17 @@

> Package changelog.
<section class="release" id="v0.2.2">

## 0.2.2 (2024-07-27)

No changes reported for this release.

</section>

<!-- /.release -->

<section class="release" id="v0.2.1">

## 0.2.1 (2024-02-22)

No changes reported for this release.
<section class="release" id="unreleased">

</section>

<!-- /.release -->

<section class="release" id="v0.2.0">

## 0.2.0 (2024-02-14)
## Unreleased (2024-08-01)

<section class="commits">

### Commits

<details>

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

</details>

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

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

- Philipp Burckhardt
- Athan Reines

</section>

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

<!-- /.release -->

<section class="release" id="v0.1.1">
<section class="release" id="v0.2.2">

## 0.1.1 (2023-10-04)
## 0.2.2 (2024-07-27)

No changes reported for this release.

</section>

<!-- /.release -->

<section class="release" id="v0.1.0">

## 0.1.0 (2023-09-22)

<section class="features">
<section class="release" id="v0.2.1">

### Features
## 0.2.1 (2024-02-22)

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

</section>

<!-- /.features -->

<section class="breaking-changes">
<!-- /.release -->

### BREAKING CHANGES
<section class="release" id="v0.2.0">

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

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

</section>

<!-- /.breaking-changes -->

<section class="commits">

### Commits
<!-- /.release -->

<details>
<section class="release" id="v0.1.1">

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

</details>
No changes reported for this release.

</section>

<!-- /.commits -->

<section class="contributors">

### Contributors

A total of 2 people contributed to this release. Thank you to the following contributors:
<!-- /.release -->

- Athan Reines
- Philipp Burckhardt
<section class="release" id="v0.1.0">

</section>
## 0.1.0 (2023-09-22)

<!-- /.contributors -->
No changes reported for this release.

</section>

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
[npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-dvariancewd.svg
[npm-url]: https://npmjs.org/package/@stdlib/stats-base-dvariancewd

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

[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dvariancewd/main.svg
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dvariancewd?branch=main
Expand Down
19 changes: 8 additions & 11 deletions benchmark/c/benchmark.length.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
* limitations under the License.
*/

/**
* Benchmark `dvariancewd`.
*/
#include "stdlib/stats/base/dvariancewd.h"
#include <stdlib.h>
#include <stdio.h>
Expand All @@ -35,7 +32,7 @@
/**
* Prints the TAP version.
*/
void print_version() {
static void print_version( void ) {
printf( "TAP version 13\n" );
}

Expand All @@ -45,7 +42,7 @@ void print_version() {
* @param total total number of tests
* @param passing total number of passing tests
*/
void print_summary( int total, int passing ) {
static void print_summary( int total, int passing ) {
printf( "#\n" );
printf( "1..%d\n", total ); // TAP plan
printf( "# total %d\n", total );
Expand All @@ -60,7 +57,7 @@ void print_summary( int total, int passing ) {
* @param iterations number of iterations
* @param elapsed elapsed time in seconds
*/
void print_results( int iterations, double elapsed ) {
static void print_results( int iterations, double elapsed ) {
double rate = (double)iterations / elapsed;
printf( " ---\n" );
printf( " iterations: %d\n", iterations );
Expand All @@ -74,30 +71,30 @@ void print_results( int iterations, double elapsed ) {
*
* @return clock time
*/
double tic() {
static double tic( void ) {
struct timeval now;
gettimeofday( &now, NULL );
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
}

/**
* Generates a random number on the interval [0,1].
* Generates a random number on the interval [0,1).
*
* @return random number
*/
double rand_double() {
static double rand_double( void ) {
int r = rand();
return (double)r / ( (double)RAND_MAX + 1.0 );
}

/*
/**
* Runs a benchmark.
*
* @param iterations number of iterations
* @param len array length
* @return elapsed time in seconds
*/
double benchmark( int iterations, int len ) {
static double benchmark( int iterations, int len ) {
double elapsed;
double x[ len ];
double v;
Expand Down
3 changes: 0 additions & 3 deletions include/stdlib/stats/base/dvariancewd.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
* limitations under the License.
*/

/**
* Header file containing function declarations.
*/
#ifndef STDLIB_STATS_BASE_DVARIANCEWD_H
#define STDLIB_STATS_BASE_DVARIANCEWD_H

Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@
"dependencies": {
"@stdlib/assert-is-error": "^0.2.2",
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2",
"@stdlib/utils-library-manifest": "^0.2.1",
"@stdlib/utils-library-manifest": "^0.2.2",
"@stdlib/utils-try-require": "^0.2.2"
},
"devDependencies": {
"@stdlib/array-float64": "^0.2.1",
"@stdlib/assert-is-browser": "^0.2.1",
"@stdlib/math-base-assert-is-nan": "^0.2.1",
"@stdlib/math-base-special-floor": "^0.2.2",
"@stdlib/math-base-special-pow": "^0.2.1",
"@stdlib/math-base-special-round": "^0.2.1",
"@stdlib/array-float64": "^0.2.2",
"@stdlib/assert-is-browser": "^0.2.2",
"@stdlib/math-base-assert-is-nan": "^0.2.2",
"@stdlib/math-base-special-floor": "^0.2.3",
"@stdlib/math-base-special-pow": "^0.3.0",
"@stdlib/math-base-special-round": "^0.3.0",
"@stdlib/random-base-randu": "^0.2.1",
"proxyquire": "^2.0.0",
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
"istanbul": "^0.4.1",
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
"@stdlib/bench-harness": "^0.2.1"
"@stdlib/bench-harness": "^0.2.2"
},
"engines": {
"node": ">=0.10.0",
Expand Down

0 comments on commit f432b83

Please sign in to comment.