Skip to content

Commit c1cf7c2

Browse files
committed
Auto-generated commit
1 parent 58289e9 commit c1cf7c2

File tree

4 files changed

+44
-12
lines changed

4 files changed

+44
-12
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,41 @@
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+
- [`272ae7a`](https://github.com/stdlib-js/stdlib/commit/272ae7ac5c576c68cfab1b6e304c86407faa20cd) - **docs:** remove comment _(by Athan Reines)_
16+
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
17+
18+
</details>
19+
20+
</section>
21+
22+
<!-- /.commits -->
23+
24+
<section class="contributors">
25+
26+
### Contributors
27+
28+
A total of 1 person contributed to this release. Thank you to this contributor:
29+
30+
- Athan Reines
31+
32+
</section>
33+
34+
<!-- /.contributors -->
35+
36+
</section>
37+
38+
<!-- /.release -->
39+
540
<section class="release" id="v0.2.2">
641

742
## 0.2.2 (2024-07-28)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
228228
[npm-image]: http://img.shields.io/npm/v/@stdlib/blas-ext-base-drev.svg
229229
[npm-url]: https://npmjs.org/package/@stdlib/blas-ext-base-drev
230230

231-
[test-image]: https://github.com/stdlib-js/blas-ext-base-drev/actions/workflows/test.yml/badge.svg?branch=v0.2.2
232-
[test-url]: https://github.com/stdlib-js/blas-ext-base-drev/actions/workflows/test.yml?query=branch:v0.2.2
231+
[test-image]: https://github.com/stdlib-js/blas-ext-base-drev/actions/workflows/test.yml/badge.svg?branch=main
232+
[test-url]: https://github.com/stdlib-js/blas-ext-base-drev/actions/workflows/test.yml?query=branch:main
233233

234234
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/blas-ext-base-drev/main.svg
235235
[coverage-url]: https://codecov.io/github/stdlib-js/blas-ext-base-drev?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;

include/stdlib/blas/ext/base/drev.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_BLAS_EXT_BASE_DREV_H
2320
#define STDLIB_BLAS_EXT_BASE_DREV_H
2421

0 commit comments

Comments
 (0)