Skip to content

Commit 6ef6486

Browse files
committed
Auto-generated commit
1 parent e9061fd commit 6ef6486

File tree

4 files changed

+45
-11
lines changed

4 files changed

+45
-11
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
@@ -332,8 +332,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
332332
[npm-image]: http://img.shields.io/npm/v/@stdlib/blas-base-dscal.svg
333333
[npm-url]: https://npmjs.org/package/@stdlib/blas-base-dscal
334334
335-
[test-image]: https://github.com/stdlib-js/blas-base-dscal/actions/workflows/test.yml/badge.svg?branch=v0.3.0
336-
[test-url]: https://github.com/stdlib-js/blas-base-dscal/actions/workflows/test.yml?query=branch:v0.3.0
335+
[test-image]: https://github.com/stdlib-js/blas-base-dscal/actions/workflows/test.yml/badge.svg?branch=main
336+
[test-url]: https://github.com/stdlib-js/blas-base-dscal/actions/workflows/test.yml?query=branch:main
337337
338338
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/blas-base-dscal/main.svg
339339
[coverage-url]: https://codecov.io/github/stdlib-js/blas-base-dscal?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-
double rand_double( void ) {
85+
static double rand_double( void ) {
8686
int r = rand();
8787
return (double)r / ( (double)RAND_MAX + 1.0 );
8888
}
@@ -94,7 +94,7 @@ double rand_double( 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
double x[ len ];
100100
double t;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@stdlib/utils-try-require": "^0.2.2"
5454
},
5555
"devDependencies": {
56-
"@stdlib/array-float64": "^0.2.1",
56+
"@stdlib/array-float64": "^0.2.2",
5757
"@stdlib/assert-is-browser": "^0.2.2",
5858
"@stdlib/math-base-assert-is-nan": "^0.2.2",
5959
"@stdlib/math-base-special-pow": "^0.2.1",
@@ -65,7 +65,7 @@
6565
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
6666
"istanbul": "^0.4.1",
6767
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
68-
"@stdlib/bench-harness": "^0.2.1"
68+
"@stdlib/bench-harness": "^0.2.2"
6969
},
7070
"engines": {
7171
"node": ">=0.10.0",

0 commit comments

Comments
 (0)