Skip to content

Commit 9214fdb

Browse files
committed
Auto-generated commit
1 parent 45b0db7 commit 9214fdb

File tree

6 files changed

+45
-58
lines changed

6 files changed

+45
-58
lines changed

.github/.keepalive

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

.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: 31 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,88 +2,75 @@
22

33
> Package changelog.
44
5-
<section class="release" id="v0.2.2">
6-
7-
## 0.2.2 (2024-07-28)
5+
<section class="release" id="unreleased">
86

9-
No changes reported for this release.
7+
## Unreleased (2024-08-01)
108

11-
</section>
9+
<section class="commits">
1210

13-
<!-- /.release -->
11+
### Commits
1412

15-
<section class="release" id="v0.2.1">
13+
<details>
1614

17-
## 0.2.1 (2024-02-24)
15+
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
1816

19-
No changes reported for this release.
17+
</details>
2018

2119
</section>
2220

23-
<!-- /.release -->
21+
<!-- /.commits -->
2422

25-
<section class="release" id="v0.2.0">
23+
<section class="contributors">
2624

27-
## 0.2.0 (2024-02-14)
25+
### Contributors
2826

29-
No changes reported for this release.
27+
A total of 1 person contributed to this release. Thank you to this contributor:
28+
29+
- Athan Reines
3030

3131
</section>
3232

33-
<!-- /.release -->
33+
<!-- /.contributors -->
3434

35-
<section class="release" id="v0.1.0">
35+
</section>
3636

37-
## 0.1.0 (2023-09-23)
37+
<!-- /.release -->
3838

39-
<section class="features">
39+
<section class="release" id="v0.2.2">
4040

41-
### Features
41+
## 0.2.2 (2024-07-28)
4242

43-
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0) - update minimum TypeScript version
43+
No changes reported for this release.
4444

4545
</section>
4646

47-
<!-- /.features -->
48-
49-
<section class="breaking-changes">
47+
<!-- /.release -->
5048

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

53-
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0): update minimum TypeScript version
54-
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0): update minimum TypeScript version to 4.1
51+
## 0.2.1 (2024-02-24)
5552

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

5855
</section>
5956

60-
<!-- /.breaking-changes -->
61-
62-
<section class="commits">
63-
64-
### Commits
57+
<!-- /.release -->
6558

66-
<details>
59+
<section class="release" id="v0.2.0">
6760

68-
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
61+
## 0.2.0 (2024-02-14)
6962

70-
</details>
63+
No changes reported for this release.
7164

7265
</section>
7366

74-
<!-- /.commits -->
75-
76-
<section class="contributors">
77-
78-
### Contributors
79-
80-
A total of 1 person contributed to this release. Thank you to this contributor:
67+
<!-- /.release -->
8168

82-
- Philipp Burckhardt
69+
<section class="release" id="v0.1.0">
8370

84-
</section>
71+
## 0.1.0 (2023-09-23)
8572

86-
<!-- /.contributors -->
73+
No changes reported for this release.
8774

8875
</section>
8976

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
183183
[npm-image]: http://img.shields.io/npm/v/@stdlib/ndarray-base-assert-is-row-major.svg
184184
[npm-url]: https://npmjs.org/package/@stdlib/ndarray-base-assert-is-row-major
185185

186-
[test-image]: https://github.com/stdlib-js/ndarray-base-assert-is-row-major/actions/workflows/test.yml/badge.svg?branch=v0.2.2
187-
[test-url]: https://github.com/stdlib-js/ndarray-base-assert-is-row-major/actions/workflows/test.yml?query=branch:v0.2.2
186+
[test-image]: https://github.com/stdlib-js/ndarray-base-assert-is-row-major/actions/workflows/test.yml/badge.svg?branch=main
187+
[test-url]: https://github.com/stdlib-js/ndarray-base-assert-is-row-major/actions/workflows/test.yml?query=branch:main
188188

189189
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/ndarray-base-assert-is-row-major/main.svg
190190
[coverage-url]: https://codecov.io/github/stdlib-js/ndarray-base-assert-is-row-major?branch=main

benchmark/c/benchmark.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 `is_row_major`.
21-
*/
2219
#include "stdlib/ndarray/base/assert/is_row_major.h"
2320
#include <stdlib.h>
2421
#include <stdio.h>
@@ -34,7 +31,7 @@
3431
/**
3532
* Prints the TAP version.
3633
*/
37-
void print_version() {
34+
static void print_version( void ) {
3835
printf( "TAP version 13\n" );
3936
}
4037

@@ -44,7 +41,7 @@ void print_version() {
4441
* @param total total number of tests
4542
* @param passing total number of passing tests
4643
*/
47-
void print_summary( int total, int passing ) {
44+
static void print_summary( int total, int passing ) {
4845
printf( "#\n" );
4946
printf( "1..%d\n", total ); // TAP plan
5047
printf( "# total %d\n", total );
@@ -58,7 +55,7 @@ void print_summary( int total, int passing ) {
5855
*
5956
* @param elapsed elapsed time in seconds
6057
*/
61-
void print_results( double elapsed ) {
58+
static void print_results( double elapsed ) {
6259
double rate = (double)ITERATIONS / elapsed;
6360
printf( " ---\n" );
6461
printf( " iterations: %d\n", ITERATIONS );
@@ -72,18 +69,18 @@ void print_results( double elapsed ) {
7269
*
7370
* @return clock time
7471
*/
75-
double tic() {
72+
static double tic( void ) {
7673
struct timeval now;
7774
gettimeofday( &now, NULL );
7875
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7976
}
8077

8178
/**
82-
* Generates a random double on the interval [0,1].
79+
* Generates a random number on the interval [0,1).
8380
*
84-
* @return random double
81+
* @return random number
8582
*/
86-
double rand_double() {
83+
static double rand_double( void ) {
8784
int r = rand();
8885
return (double)r / ( (double)RAND_MAX + 1.0 );
8986
}
@@ -93,7 +90,7 @@ double rand_double() {
9390
*
9491
* @return elapsed time in seconds
9592
*/
96-
double benchmark() {
93+
static double benchmark( void ) {
9794
double elapsed;
9895
int8_t b;
9996
double t;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"url": "https://github.com/stdlib-js/stdlib/issues"
4040
},
4141
"dependencies": {
42-
"@stdlib/math-base-special-abs": "^0.2.1",
42+
"@stdlib/math-base-special-abs": "^0.2.2",
4343
"@stdlib/types": "^0.3.2",
4444
"@stdlib/utils-library-manifest": "^0.2.2"
4545
},

0 commit comments

Comments
 (0)