Skip to content

Commit 8e8e48d

Browse files
committed
Auto-generated commit
1 parent 384da91 commit 8e8e48d

File tree

4 files changed

+47
-13
lines changed

4 files changed

+47
-13
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2024-07-28)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
16+
17+
</details>
18+
19+
</section>
20+
21+
<!-- /.commits -->
22+
23+
<section class="contributors">
24+
25+
### Contributors
26+
27+
A total of 1 person contributed to this release. Thank you to this contributor:
28+
29+
- Athan Reines
30+
31+
</section>
32+
33+
<!-- /.contributors -->
34+
35+
</section>
36+
37+
<!-- /.release -->
38+
539
<section class="release" id="v0.3.0">
640

741
## 0.3.0 (2024-07-27)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
445445
[npm-image]: http://img.shields.io/npm/v/@stdlib/blas-base-cswap.svg
446446
[npm-url]: https://npmjs.org/package/@stdlib/blas-base-cswap
447447
448-
[test-image]: https://github.com/stdlib-js/blas-base-cswap/actions/workflows/test.yml/badge.svg?branch=v0.3.0
449-
[test-url]: https://github.com/stdlib-js/blas-base-cswap/actions/workflows/test.yml?query=branch:v0.3.0
448+
[test-image]: https://github.com/stdlib-js/blas-base-cswap/actions/workflows/test.yml/badge.svg?branch=main
449+
[test-url]: https://github.com/stdlib-js/blas-base-cswap/actions/workflows/test.yml?query=branch:main
450450
451451
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/blas-base-cswap/main.svg
452452
[coverage-url]: https://codecov.io/github/stdlib-js/blas-base-cswap?branch=main

benchmark/c/benchmark.length.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Prints the TAP version.
3434
*/
35-
void print_version( void ) {
35+
static void print_version( void ) {
3636
printf( "TAP version 13\n" );
3737
}
3838

@@ -42,7 +42,7 @@ void print_version( void ) {
4242
* @param total total number of tests
4343
* @param passing total number of passing tests
4444
*/
45-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4646
printf( "#\n" );
4747
printf( "1..%d\n", total ); // TAP plan
4848
printf( "# total %d\n", total );
@@ -57,7 +57,7 @@ void print_summary( int total, int passing ) {
5757
* @param iterations number of iterations
5858
* @param elapsed elapsed time in seconds
5959
*/
60-
void print_results( int iterations, double elapsed ) {
60+
static void print_results( int iterations, double elapsed ) {
6161
double rate = (double)iterations / elapsed;
6262
printf( " ---\n" );
6363
printf( " iterations: %d\n", iterations );
@@ -71,18 +71,18 @@ void print_results( int iterations, double elapsed ) {
7171
*
7272
* @return clock time
7373
*/
74-
double tic( void ) {
74+
static double tic( void ) {
7575
struct timeval now;
7676
gettimeofday( &now, NULL );
7777
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7878
}
7979

8080
/**
81-
* Generates a random number on the interval [0,1].
81+
* Generates a random number on the interval [0,1).
8282
*
8383
* @return random number
8484
*/
85-
float rand_float( void ) {
85+
static float rand_float( void ) {
8686
int r = rand();
8787
return (float)r / ( (float)RAND_MAX + 1.0f );
8888
}
@@ -94,7 +94,7 @@ float rand_float( void ) {
9494
* @param len array length
9595
* @return elapsed time in seconds
9696
*/
97-
double benchmark( int iterations, int len ) {
97+
static double benchmark( int iterations, int len ) {
9898
double elapsed;
9999
float x[ len*2 ];
100100
float y[ len*2 ];

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@stdlib/napi-argv-int64": "^0.2.2",
4848
"@stdlib/napi-argv-strided-complex64array": "^0.2.2",
4949
"@stdlib/napi-export": "^0.2.2",
50-
"@stdlib/strided-base-reinterpret-complex64": "^0.2.0",
50+
"@stdlib/strided-base-reinterpret-complex64": "^0.2.1",
5151
"@stdlib/types": "^0.3.2",
5252
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2",
5353
"@stdlib/utils-library-manifest": "^0.2.2",
@@ -56,10 +56,10 @@
5656
"devDependencies": {
5757
"@stdlib/array-complex64": "^0.2.1",
5858
"@stdlib/array-filled-by": "^0.2.1",
59-
"@stdlib/array-float32": "^0.2.1",
59+
"@stdlib/array-float32": "^0.2.2",
6060
"@stdlib/assert-is-browser": "^0.2.2",
6161
"@stdlib/blas-base-scopy": "^0.2.2",
62-
"@stdlib/complex-float32-ctor": "^0.0.1",
62+
"@stdlib/complex-float32-ctor": "^0.0.2",
6363
"@stdlib/math-base-assert-is-nan": "^0.2.2",
6464
"@stdlib/math-base-special-pow": "^0.2.1",
6565
"@stdlib/random-array-uniform": "^0.2.1",
@@ -69,7 +69,7 @@
6969
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
7070
"istanbul": "^0.4.1",
7171
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
72-
"@stdlib/bench-harness": "^0.2.1"
72+
"@stdlib/bench-harness": "^0.2.2"
7373
},
7474
"engines": {
7575
"node": ">=0.10.0",

0 commit comments

Comments
 (0)