Skip to content

Commit 2a0d146

Browse files
committed
Auto-generated commit
1 parent bba8c14 commit 2a0d146

File tree

9 files changed

+77
-15
lines changed

9 files changed

+77
-15
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: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2025-09-18)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`b6d34c9`](https://github.com/stdlib-js/stdlib/commit/b6d34c9e53f2b877e0647914ba21ebbc6091db18) - **refactor:** use functional API to resolve dtype and relax `dtype` property requirements _(by Athan Reines)_
16+
- [`11581aa`](https://github.com/stdlib-js/stdlib/commit/11581aaca8c3cb824cbb92c0c0f80e76890bdb20) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
17+
- [`f9651e6`](https://github.com/stdlib-js/stdlib/commit/f9651e6411b4ebd3c95dcc6b46c02e6d5be009fa) - **test:** use .strictEqual() instead of .equal() and fix lint errors _(by Philipp Burckhardt)_
18+
19+
</details>
20+
21+
</section>
22+
23+
<!-- /.commits -->
24+
25+
<section class="contributors">
26+
27+
### Contributors
28+
29+
A total of 2 people contributed to this release. Thank you to the following contributors:
30+
31+
- Athan Reines
32+
- Philipp Burckhardt
33+
34+
</section>
35+
36+
<!-- /.contributors -->
37+
38+
</section>
39+
40+
<!-- /.release -->
41+
542
<section class="release" id="v0.2.2">
643

744
## 0.2.2 (2024-07-28)

CONTRIBUTORS

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ 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>
@@ -27,9 +29,11 @@ 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+
Anshumancanrock <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>
36+
AryanJ18 <18aryanj2006@gmail.com>
3337
Athan Reines <kgryte@gmail.com>
3438
Atharva Patil <124063987+atharva-patil-23@users.noreply.github.com>
3539
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
@@ -39,6 +43,7 @@ Bruno Fenzl <brunofenzl@gmail.com>
3943
Bryan Elee <rxbryn@gmail.com>
4044
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
4145
Christopher Dambamuromo <chridam@gmail.com>
46+
DUDHAT HEMIL PRAVINKUMAR <138382078+Hemil36@users.noreply.github.com>
4247
Dan Rose <danoftheroses@gmail.com>
4348
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
4449
Daniel Killenberger <daniel.killenberger@gmail.com>
@@ -62,6 +67,7 @@ Frank Kovacs <fran70kk@gmail.com>
6267
GK Bishnoi <gkishan1kyt@gmail.com>
6368
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
6469
Gaurav <gaurav70380@gmail.com>
70+
Gaurav Kaushik <144526331+Gauravkaushik-1206@users.noreply.github.com>
6571
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
6672
Gautam sharma <gautamkrishnasharma1@gmail.com>
6773
GeoDaoyu <geodaoyu@foxmail.com>
@@ -118,6 +124,8 @@ Momtchil Momtchev <momtchil@momtchev.com>
118124
Muhammad Haris <harriskhan047@outlook.com>
119125
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
120126
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
127+
NEEKUorAAYUSH <aayush10072004@gmail.com>
128+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
121129
Naresh Jagadeesan <naresh.naresh000@gmail.com>
122130
Naveen Kumar <stupiddint@gmail.com>
123131
Neeraj Pathak <neerajrpathak710@gmail.com>
@@ -130,8 +138,10 @@ Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
130138
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
131139
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
132140
Ori Miles <97595296+orimiles5@users.noreply.github.com>
141+
Payal Goswami <payalgoswami9711@gmail.com>
133142
Philipp Burckhardt <pburckhardt@outlook.com>
134143
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
144+
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
135145
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
136146
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
137147
Pranav Goswami <pranavchiku11@gmail.com>
@@ -160,26 +170,32 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
160170
Ryan Seal <splrk@users.noreply.github.com>
161171
Rylan Yang <137365285+rylany27@users.noreply.github.com>
162172
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
173+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
163174
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
164175
Sachin Raj <120590207+schnrj@users.noreply.github.com>
165176
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
166177
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
167178
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
168179
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
169180
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
181+
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
170182
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
183+
Seth-Banker <125103042+Seth-Banker@users.noreply.github.com>
171184
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
172185
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
173186
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
187+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
174188
Shivam Ahir <11shivam00@gmail.com>
175189
Shivansh <114570926+shiv343@users.noreply.github.com>
176190
Shraddheya Shendre <shendreshraddheya@gmail.com>
177191
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
178192
Shubham Mishra <shubh622005@gmail.com>
193+
Siddhesh waje <117733253+siddhesh434@users.noreply.github.com>
179194
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
180195
Snehil Shah <snehilshah.989@gmail.com>
181196
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
182197
Spandan Barve <contact@marsian.dev>
198+
Srinivas Batthula <srinivasbatthula05.official@gmail.com>
183199
Stephannie Jiménez Gacha <steff456@hotmail.com>
184200
Suhaib Ilahi <suhaib.elahi87@gmail.com>
185201
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
@@ -189,16 +205,19 @@ Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
189205
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
190206
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
191207
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
208+
Tyson Cung <45380903+tysoncung@users.noreply.github.com>
192209
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
193210
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
194211
Utkarsh <http://utkarsh11105@gmail.com>
195212
Utkarsh Raj <rajutkarsh2505@gmail.com>
196213
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
197214
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
215+
Vansh Choudhary <iamvanshchaudhary7@gmail.com>
198216
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
199217
Varad Gupta <varadgupta21@gmail.com>
200218
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
201219
Vivek Maurya <vm8118134@gmail.com>
220+
Wendy Yuchen Sun <wendyyuchensun@gmail.com>
202221
Xiaochuan Ye <tap91624@gmail.com>
203222
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
204223
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>

dist/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// MODULES //
2222

2323
var isndarrayLike = require( '@stdlib/assert-is-ndarray-like' );
24+
var getDType = require( '@stdlib/ndarray-base-dtype' );
2425

2526

2627
// MAIN //
@@ -45,7 +46,7 @@ var isndarrayLike = require( '@stdlib/assert-is-ndarray-like' );
4546
* // returns false
4647
*/
4748
function isComplex128ndarrayLike( v ) {
48-
return ( isndarrayLike( v ) && v.dtype === 'complex128' );
49+
return ( isndarrayLike( v ) && getDType( v ) === 'complex128' );
4950
}
5051

5152

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"url": "https://github.com/stdlib-js/stdlib/issues"
3838
},
3939
"dependencies": {
40-
"@stdlib/assert-is-ndarray-like": "^0.2.2"
40+
"@stdlib/assert-is-ndarray-like": "^0.2.2",
41+
"@stdlib/ndarray-base-dtype": "^0.2.2"
4142
},
4243
"devDependencies": {
4344
"@stdlib/array-complex128": "^0.3.0",

test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tape( 'main export is a function', function test( t ) {
3838
tape( 'the function returns `true` if provided an ndarray containing double-precision complex floating-point numbers', function test( t ) {
3939
var arr = ndarray( 'complex128', new Complex128Array( [ 0, 0, 0, 0, 0, 0, 0, 0 ] ), [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
4040

41-
t.equal( isComplex128ndarrayLike( arr ), true, 'returns true' );
41+
t.strictEqual( isComplex128ndarrayLike( arr ), true, 'returns expected value' );
4242
t.end();
4343
});
4444

@@ -57,7 +57,7 @@ tape( 'the function returns `true` if provided an ndarray-like object containing
5757
'set': noop
5858
};
5959

60-
t.equal( isComplex128ndarrayLike( arr ), true, 'returns true' );
60+
t.strictEqual( isComplex128ndarrayLike( arr ), true, 'returns expected value' );
6161
t.end();
6262
});
6363

@@ -83,7 +83,7 @@ tape( 'the function returns `false` if not provided an ndarray-like object conta
8383
];
8484

8585
for ( i = 0; i < values.length; i++ ) {
86-
t.equal( isComplex128ndarrayLike( values[i] ), false, 'returns false when provided '+values[i] );
86+
t.strictEqual( isComplex128ndarrayLike( values[i] ), false, 'returns false when provided '+values[i] );
8787
}
8888
t.end();
8989
});

0 commit comments

Comments
 (0)