Skip to content

Commit d7102ce

Browse files
committed
Auto-generated commit
1 parent e8fd08c commit d7102ce

File tree

6 files changed

+37
-74
lines changed

6 files changed

+37
-74
lines changed

.github/.keepalive

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

.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: 21 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,17 @@
22

33
> Package changelog.
44
5-
<section class="release" id="v0.2.2">
6-
7-
## 0.2.2 (2024-07-27)
8-
9-
No changes reported for this release.
10-
11-
</section>
12-
13-
<!-- /.release -->
14-
15-
<section class="release" id="v0.2.1">
16-
17-
## 0.2.1 (2024-02-22)
18-
19-
No changes reported for this release.
5+
<section class="release" id="unreleased">
206

21-
</section>
22-
23-
<!-- /.release -->
24-
25-
<section class="release" id="v0.2.0">
26-
27-
## 0.2.0 (2024-02-14)
7+
## Unreleased (2024-08-01)
288

299
<section class="commits">
3010

3111
### Commits
3212

3313
<details>
3414

35-
- [`453dd85`](https://github.com/stdlib-js/stdlib/commit/453dd85b5dd186d2b4d458256fe84906e1503fe2) - **build:** remove tslint directives _(by Philipp Burckhardt)_
15+
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
3616

3717
</details>
3818

@@ -46,7 +26,7 @@ No changes reported for this release.
4626

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

49-
- Philipp Burckhardt
29+
- Athan Reines
5030

5131
</section>
5232

@@ -56,68 +36,51 @@ A total of 1 person contributed to this release. Thank you to this contributor:
5636

5737
<!-- /.release -->
5838

59-
<section class="release" id="v0.1.1">
39+
<section class="release" id="v0.2.2">
6040

61-
## 0.1.1 (2023-10-04)
41+
## 0.2.2 (2024-07-27)
6242

6343
No changes reported for this release.
6444

6545
</section>
6646

6747
<!-- /.release -->
6848

69-
<section class="release" id="v0.1.0">
70-
71-
## 0.1.0 (2023-09-22)
72-
73-
<section class="features">
49+
<section class="release" id="v0.2.1">
7450

75-
### Features
51+
## 0.2.1 (2024-02-22)
7652

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

7955
</section>
8056

81-
<!-- /.features -->
82-
83-
<section class="breaking-changes">
57+
<!-- /.release -->
8458

85-
### BREAKING CHANGES
59+
<section class="release" id="v0.2.0">
8660

87-
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0): update minimum TypeScript version
88-
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0): update minimum TypeScript version to 4.1
61+
## 0.2.0 (2024-02-14)
8962

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

9265
</section>
9366

94-
<!-- /.breaking-changes -->
95-
96-
<section class="commits">
97-
98-
### Commits
67+
<!-- /.release -->
9968

100-
<details>
69+
<section class="release" id="v0.1.1">
10170

102-
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
71+
## 0.1.1 (2023-10-04)
10372

104-
</details>
73+
No changes reported for this release.
10574

10675
</section>
10776

108-
<!-- /.commits -->
109-
110-
<section class="contributors">
111-
112-
### Contributors
113-
114-
A total of 1 person contributed to this release. Thank you to this contributor:
77+
<!-- /.release -->
11578

116-
- Philipp Burckhardt
79+
<section class="release" id="v0.1.0">
11780

118-
</section>
81+
## 0.1.0 (2023-09-22)
11982

120-
<!-- /.contributors -->
83+
No changes reported for this release.
12184

12285
</section>
12386

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
196196
[npm-image]: http://img.shields.io/npm/v/@stdlib/ndarray-base-assert-is-buffer-length-compatible-shape.svg
197197
[npm-url]: https://npmjs.org/package/@stdlib/ndarray-base-assert-is-buffer-length-compatible-shape
198198

199-
[test-image]: https://github.com/stdlib-js/ndarray-base-assert-is-buffer-length-compatible-shape/actions/workflows/test.yml/badge.svg?branch=v0.2.2
200-
[test-url]: https://github.com/stdlib-js/ndarray-base-assert-is-buffer-length-compatible-shape/actions/workflows/test.yml?query=branch:v0.2.2
199+
[test-image]: https://github.com/stdlib-js/ndarray-base-assert-is-buffer-length-compatible-shape/actions/workflows/test.yml/badge.svg?branch=main
200+
[test-url]: https://github.com/stdlib-js/ndarray-base-assert-is-buffer-length-compatible-shape/actions/workflows/test.yml?query=branch:main
201201

202202
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/ndarray-base-assert-is-buffer-length-compatible-shape/main.svg
203203
[coverage-url]: https://codecov.io/github/stdlib-js/ndarray-base-assert-is-buffer-length-compatible-shape?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_buffer_length_compatible_shape`.
21-
*/
2219
#include "stdlib/ndarray/base/assert/is_buffer_length_compatible_shape.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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@
4141
"dependencies": {
4242
"@stdlib/ndarray-base-numel": "^0.2.2",
4343
"@stdlib/types": "^0.3.2",
44-
"@stdlib/utils-library-manifest": "^0.2.1"
44+
"@stdlib/utils-library-manifest": "^0.2.2"
4545
},
4646
"devDependencies": {
4747
"@stdlib/assert-is-boolean": "^0.2.2",
48-
"@stdlib/math-base-special-floor": "^0.2.2",
48+
"@stdlib/math-base-special-floor": "^0.2.3",
4949
"@stdlib/random-base-discrete-uniform": "^0.2.1",
5050
"@stdlib/random-base-randu": "^0.2.1",
5151
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5252
"istanbul": "^0.4.1",
5353
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
54-
"@stdlib/bench-harness": "^0.2.1"
54+
"@stdlib/bench-harness": "^0.2.2"
5555
},
5656
"engines": {
5757
"node": ">=0.10.0",

0 commit comments

Comments
 (0)