@stdlib/ndarray-base-assert-is-column-major 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2024 The Stdlib Authors.
1
+ Copyright (c) 2016-2026 The Stdlib Authors.
package/README.md CHANGED
@@ -160,7 +160,7 @@ See [LICENSE][stdlib-license].
160
160
 
161
161
  ## Copyright
162
162
 
163
- Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
163
+ Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
164
164
 
165
165
  </section>
166
166
 
@@ -173,8 +173,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
173
173
  [npm-image]: http://img.shields.io/npm/v/@stdlib/ndarray-base-assert-is-column-major.svg
174
174
  [npm-url]: https://npmjs.org/package/@stdlib/ndarray-base-assert-is-column-major
175
175
 
176
- [test-image]: https://github.com/stdlib-js/ndarray-base-assert-is-column-major/actions/workflows/test.yml/badge.svg?branch=v0.2.2
177
- [test-url]: https://github.com/stdlib-js/ndarray-base-assert-is-column-major/actions/workflows/test.yml?query=branch:v0.2.2
176
+ [test-image]: https://github.com/stdlib-js/ndarray-base-assert-is-column-major/actions/workflows/test.yml/badge.svg?branch=v0.2.3
177
+ [test-url]: https://github.com/stdlib-js/ndarray-base-assert-is-column-major/actions/workflows/test.yml?query=branch:v0.2.3
178
178
 
179
179
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/ndarray-base-assert-is-column-major/main.svg
180
180
  [coverage-url]: https://codecov.io/github/stdlib-js/ndarray-base-assert-is-column-major?branch=main
@@ -186,8 +186,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
186
186
 
187
187
  -->
188
188
 
189
- [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
190
- [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
189
+ [chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
190
+ [chat-url]: https://stdlib.zulipchat.com
191
191
 
192
192
  [stdlib]: https://github.com/stdlib-js/stdlib
193
193
 
@@ -31,7 +31,7 @@ extern "C" {
31
31
  /**
32
32
  * Determines if an array is column-major based on a provided stride array.
33
33
  */
34
- int8_t stdlib_ndarray_is_column_major( int64_t ndims, int64_t *strides );
34
+ int8_t stdlib_ndarray_is_column_major( const int64_t ndims, const int64_t *strides );
35
35
 
36
36
  #ifdef __cplusplus
37
37
  }
package/manifest.json CHANGED
@@ -1,38 +1,38 @@
1
1
  {
2
- "options": {},
3
- "fields": [
4
- {
5
- "field": "src",
6
- "resolve": true,
7
- "relative": true
8
- },
9
- {
10
- "field": "include",
11
- "resolve": true,
12
- "relative": true
13
- },
14
- {
15
- "field": "libraries",
16
- "resolve": false,
17
- "relative": false
18
- },
19
- {
20
- "field": "libpath",
21
- "resolve": true,
22
- "relative": false
23
- }
24
- ],
25
- "confs": [
26
- {
27
- "src": [
28
- "./src/main.c"
29
- ],
30
- "include": [
31
- "./include"
32
- ],
33
- "libraries": [],
34
- "libpath": [],
35
- "dependencies": []
36
- }
37
- ]
2
+ "options": {},
3
+ "fields": [
4
+ {
5
+ "field": "src",
6
+ "resolve": true,
7
+ "relative": true
8
+ },
9
+ {
10
+ "field": "include",
11
+ "resolve": true,
12
+ "relative": true
13
+ },
14
+ {
15
+ "field": "libraries",
16
+ "resolve": false,
17
+ "relative": false
18
+ },
19
+ {
20
+ "field": "libpath",
21
+ "resolve": true,
22
+ "relative": false
23
+ }
24
+ ],
25
+ "confs": [
26
+ {
27
+ "src": [
28
+ "./src/main.c"
29
+ ],
30
+ "include": [
31
+ "./include"
32
+ ],
33
+ "libraries": [],
34
+ "libpath": [],
35
+ "dependencies": []
36
+ }
37
+ ]
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/ndarray-base-assert-is-column-major",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Given a stride array, determine whether an array is column-major.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -75,7 +75,6 @@
75
75
  "utils",
76
76
  "util"
77
77
  ],
78
- "__stdlib__": {},
79
78
  "funding": {
80
79
  "type": "opencollective",
81
80
  "url": "https://opencollective.com/stdlib"
package/src/main.c CHANGED
@@ -40,7 +40,7 @@
40
40
  * int8_t b = stdlib_ndarray_is_column_major( ndims, strides );
41
41
  * // returns 1
42
42
  */
43
- int8_t stdlib_ndarray_is_column_major( int64_t ndims, int64_t *strides ) {
43
+ int8_t stdlib_ndarray_is_column_major( const int64_t ndims, const int64_t *strides ) {
44
44
  int64_t s1;
45
45
  int64_t s2;
46
46
  int64_t i;