Skip to content

Commit 944fcbc

Browse files
committed
Auto-generated commit
1 parent 0b0c6db commit 944fcbc

File tree

8 files changed

+84
-46
lines changed

8 files changed

+84
-46
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191-
192-
# Cursor #
193-
##########
191+
.cursor
194192
.cursorignore
193+
.windsurfrules
194+
.clinerules
195+
196+
# AI coding agents #
197+
####################
198+
CLAUDE.md
199+
GEMINI.md

CHANGELOG.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,29 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-07-28)
7+
## Unreleased (2025-09-29)
8+
9+
<section class="issues">
10+
11+
### Closed Issues
12+
13+
This release closes the following issue:
14+
15+
[#8156](https://github.com/stdlib-js/stdlib/issues/8156)
16+
17+
</section>
18+
19+
<!-- /.issues -->
820

921
<section class="commits">
1022

1123
### Commits
1224

1325
<details>
1426

27+
- [`29d3bbb`](https://github.com/stdlib-js/stdlib/commit/29d3bbb5241884d149b000c3a76d59227686728f) - **chore:** fix C lint errors [(#8157)](https://github.com/stdlib-js/stdlib/pull/8157) _(by GeoDaoyu, Athan Reines)_
28+
- [`7add020`](https://github.com/stdlib-js/stdlib/commit/7add0201c13e56a0381926ccfd4073c84eaf2ed4) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
29+
- [`6eee151`](https://github.com/stdlib-js/stdlib/commit/6eee15199727d04e3757e66f38384e97b8a333da) - **style:** fix indentation in JSON files _(by Philipp Burckhardt)_
1530
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
1631

1732
</details>
@@ -24,9 +39,11 @@
2439

2540
### Contributors
2641

27-
A total of 1 person contributed to this release. Thank you to this contributor:
42+
A total of 3 people contributed to this release. Thank you to the following contributors:
2843

2944
- Athan Reines
45+
- GeoDaoyu
46+
- Philipp Burckhardt
3047

3148
</section>
3249

CONTRIBUTORS

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
99
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
1010
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
1111
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1213
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1314
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1415
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1517
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1618
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1719
Ahmed Khaled <kahmd1444@gmail.com>
1820
Aksshay Balasubramanian <119944779+Aksshay88@users.noreply.github.com>
1921
Aleksandr <112382387+alextes90@users.noreply.github.com>
2022
Ali Salesi <ali_sal1381@yahoo.com>
21-
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
23+
Aly Abdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2224
Aman Bhansali <bhansali.1@iitj.ac.in>
2325
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
2426
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
@@ -27,6 +29,7 @@ Anmol Sah <113588714+anmolsah@users.noreply.github.com>
2729
Annamalai Prabu <apfossdev@gmail.com>
2830
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2931
Anshu Kumar <contact.anshukumar@protonmail.com>
32+
Anshuman Singh <109489361+Anshumancanrock@users.noreply.github.com>
3033
Anudeep Sanapala <anudeep0306@gmail.com>
3134
Arihant Pal <arihant0pal@gmail.com>
3235
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
@@ -40,6 +43,7 @@ Bruno Fenzl <brunofenzl@gmail.com>
4043
Bryan Elee <rxbryn@gmail.com>
4144
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
4245
Christopher Dambamuromo <chridam@gmail.com>
46+
DUDHAT HEMIL PRAVINKUMAR <138382078+Hemil36@users.noreply.github.com>
4347
Dan Rose <danoftheroses@gmail.com>
4448
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
4549
Daniel Killenberger <daniel.killenberger@gmail.com>
@@ -63,6 +67,7 @@ Frank Kovacs <fran70kk@gmail.com>
6367
GK Bishnoi <gkishan1kyt@gmail.com>
6468
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
6569
Gaurav <gaurav70380@gmail.com>
70+
Gaurav Kaushik <144526331+Gauravkaushik-1206@users.noreply.github.com>
6671
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
6772
Gautam sharma <gautamkrishnasharma1@gmail.com>
6873
GeoDaoyu <geodaoyu@foxmail.com>
@@ -119,6 +124,8 @@ Momtchil Momtchev <momtchil@momtchev.com>
119124
Muhammad Haris <harriskhan047@outlook.com>
120125
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
121126
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
127+
NEEKUorAAYUSH <aayush10072004@gmail.com>
128+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
122129
Naresh Jagadeesan <naresh.naresh000@gmail.com>
123130
Naveen Kumar <stupiddint@gmail.com>
124131
Neeraj Pathak <neerajrpathak710@gmail.com>
@@ -131,8 +138,10 @@ Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
131138
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
132139
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
133140
Ori Miles <97595296+orimiles5@users.noreply.github.com>
141+
Payal Goswami <payalgoswami9711@gmail.com>
134142
Philipp Burckhardt <pburckhardt@outlook.com>
135143
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
144+
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
136145
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
137146
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
138147
Pranav Goswami <pranavchiku11@gmail.com>
@@ -161,6 +170,7 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
161170
Ryan Seal <splrk@users.noreply.github.com>
162171
Rylan Yang <137365285+rylany27@users.noreply.github.com>
163172
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
173+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
164174
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
165175
Sachin Raj <120590207+schnrj@users.noreply.github.com>
166176
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
@@ -170,9 +180,11 @@ Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
170180
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
171181
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
172182
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
183+
Seth-Banker <125103042+Seth-Banker@users.noreply.github.com>
173184
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
174185
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
175186
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
187+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
176188
Shivam Ahir <11shivam00@gmail.com>
177189
Shivansh <114570926+shiv343@users.noreply.github.com>
178190
Shraddheya Shendre <shendreshraddheya@gmail.com>
@@ -183,6 +195,7 @@ Sivam Das <100067002+Sivam2313@users.noreply.github.com>
183195
Snehil Shah <snehilshah.989@gmail.com>
184196
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
185197
Spandan Barve <contact@marsian.dev>
198+
Srinivas Batthula <srinivasbatthula05.official@gmail.com>
186199
Stephannie Jiménez Gacha <steff456@hotmail.com>
187200
Suhaib Ilahi <suhaib.elahi87@gmail.com>
188201
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
@@ -192,21 +205,25 @@ Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
192205
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
193206
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
194207
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
208+
Tyson Cung <45380903+tysoncung@users.noreply.github.com>
195209
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
196210
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
197211
Utkarsh <http://utkarsh11105@gmail.com>
198212
Utkarsh Raj <rajutkarsh2505@gmail.com>
199213
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
200214
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
215+
Vansh Choudhary <iamvanshchaudhary7@gmail.com>
201216
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
202217
Varad Gupta <varadgupta21@gmail.com>
203218
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
204219
Vivek Maurya <vm8118134@gmail.com>
220+
Wendy Yuchen Sun <wendyyuchensun@gmail.com>
205221
Xiaochuan Ye <tap91624@gmail.com>
206222
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
207223
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
208224
Yugal Kaushik <yugalkaushik14@gmail.com>
209225
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
226+
Zuhair Ahmad <157193652+Zuhair-CS@users.noreply.github.com>
210227
deepak427 <62477872+deepak427@users.noreply.github.com>
211228
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
212229
ditsu <170345142+ditsus@users.noreply.github.com>

include/stdlib/ndarray/base/numel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131
/**
3232
* Returns the number of elements in an array.
3333
*/
34-
int64_t stdlib_ndarray_numel( int64_t ndims, int64_t *shape );
34+
int64_t stdlib_ndarray_numel( const int64_t ndims, const int64_t *shape );
3535

3636
#ifdef __cplusplus
3737
}

manifest.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
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+
]
3838
}

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* int64_t n = stdlib_ndarray_numel( ndims, shape );
3636
* // returns 80
3737
*/
38-
int64_t stdlib_ndarray_numel( int64_t ndims, int64_t *shape ) {
38+
int64_t stdlib_ndarray_numel( const int64_t ndims, const int64_t *shape ) {
3939
int64_t n;
4040
int64_t i;
4141

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ tape( 'main export is a function', function test( t ) {
3333
});
3434

3535
tape( 'if provided an empty array, the function returns 0', function test( t ) {
36-
t.strictEqual( numel( [] ), 0, 'returns 0' );
36+
t.strictEqual( numel( [] ), 0, 'returns expected value' );
3737
t.end();
3838
});
3939

0 commit comments

Comments
 (0)