Skip to content

Commit bbc56b6

Browse files
committed
Auto-generated commit
1 parent 23c9e98 commit bbc56b6

File tree

9 files changed

+74
-15
lines changed

9 files changed

+74
-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: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Abdelrahman Samir <[email protected]>
99
Abdul Kaium <[email protected]>
1010
Abhay Punia <[email protected]>
1111
Abhijit Raut <[email protected]>
12+
Abhishek G <[email protected]>
1213
Abhishek Jain <[email protected]>
1314
Adarsh Palaskar <[email protected]>
1415
Aditya Sapra <[email protected]>
16+
Aditya Singh <[email protected]>
1517
Ahmed Atwa <[email protected]>
1618
Ahmed Kashkoush <[email protected]>
1719
Ahmed Khaled <[email protected]>
@@ -27,6 +29,7 @@ Anmol Sah <[email protected]>
2729
Annamalai Prabu <[email protected]>
2830
Anshu Kumar <[email protected]>
2931
Anshu Kumar <[email protected]>
32+
Anshumancanrock <[email protected]>
3033
Anudeep Sanapala <[email protected]>
3134
Arihant Pal <[email protected]>
3235
Aryan Bhirud <[email protected]>
@@ -40,6 +43,7 @@ Bruno Fenzl <[email protected]>
4043
Bryan Elee <[email protected]>
4144
Chinmay Joshi <[email protected]>
4245
Christopher Dambamuromo <[email protected]>
46+
DUDHAT HEMIL PRAVINKUMAR <[email protected]>
4347
4448
Daniel Hernandez Gomez <[email protected]>
4549
Daniel Killenberger <[email protected]>
@@ -63,6 +67,7 @@ Frank Kovacs <[email protected]>
6367
GK Bishnoi <[email protected]>
6468
GURU PRASAD SHARMA <[email protected]>
6569
70+
Gaurav Kaushik <[email protected]>
6671
Gautam Kaushik <[email protected]>
6772
Gautam sharma <[email protected]>
6873
@@ -119,6 +124,8 @@ Momtchil Momtchev <[email protected]>
119124
Muhammad Haris <[email protected]>
120125
Muhammad Taaha Tariq <[email protected]>
121126
Muhmmad Saad <[email protected]>
127+
NEEKUorAAYUSH <[email protected]>
128+
Nakul Krishnakumar <[email protected]>
122129
Naresh Jagadeesan <[email protected]>
123130
Naveen Kumar <[email protected]>
124131
Neeraj Pathak <[email protected]>
@@ -131,8 +138,10 @@ Nourhan Hasan <[email protected]>
131138
Ognjen Jevremović <[email protected]>
132139
Oneday12323 <[email protected]>
133140
Ori Miles <[email protected]>
141+
Payal Goswami <[email protected]>
134142
Philipp Burckhardt <[email protected]>
135143
Pierre Forstmann <[email protected]>
144+
Pradyumn Prasad <[email protected]>
136145
Prajjwal Bajpai <[email protected]>
137146
Prajwal Kulkarni <[email protected]>
138147
Pranav Goswami <[email protected]>
@@ -161,6 +170,7 @@ Ruthwik Chikoti <[email protected]>
161170
Ryan Seal <[email protected]>
162171
Rylan Yang <[email protected]>
163172
SAHIL KUMAR <[email protected]>
173+
SAUJANYA MAGARDE <[email protected]>
164174
SHIVAM YADAV <[email protected]>
165175
Sachin Raj <[email protected]>
166176
Sahil Goyal <[email protected]>
@@ -170,9 +180,11 @@ Sanchay Ketan Sinha <[email protected]>
170180
Sarthak Paandey <[email protected]>
171181
Satyajeet Chavan <[email protected]>
172182
Saurabh Singh <[email protected]>
183+
Seth-Banker <[email protected]>
173184
Seyyed Parsa Neshaei <[email protected]>
174185
Shabareesh Shetty <[email protected]>
175186
Shashank Shekhar Singh <[email protected]>
187+
Shaswata Panda <[email protected]>
176188
Shivam Ahir <[email protected]>
177189
178190
Shraddheya Shendre <[email protected]>
@@ -183,6 +195,7 @@ Sivam Das <[email protected]>
183195
Snehil Shah <[email protected]>
184196
Soumajit Chatterjee <[email protected]>
185197
Spandan Barve <[email protected]>
198+
Srinivas Batthula <[email protected]>
186199
Stephannie Jiménez Gacha <[email protected]>
187200
Suhaib Ilahi <[email protected]>
188201
Suraj Kumar <[email protected]>
@@ -192,16 +205,19 @@ Tirtadwipa Manunggal <[email protected]>
192205
Tudor Pagu <[email protected]>
193206
Tufailahmed Bargir <[email protected]>
194207
Tushar Bhardwaj <[email protected]>
208+
Tyson Cung <[email protected]>
195209
Uday Kakade <[email protected]>
196210
Ujjwal Kirti <[email protected]>
197211
Utkarsh <http://[email protected]>
198212
Utkarsh Raj <[email protected]>
199213
UtkershBasnet <[email protected]>
200214
Vaibhav Patel <[email protected]>
215+
Vansh Choudhary <[email protected]>
201216
Vara Rahul Rajana <[email protected]>
202217
Varad Gupta <[email protected]>
203218
Vinit Pandit <[email protected]>
204219
Vivek Maurya <[email protected]>
220+
Wendy Yuchen Sun <[email protected]>
205221
Xiaochuan Ye <[email protected]>
206222
Yaswanth Kosuru <[email protected]>
207223
Yernar Yergaziyev <[email protected]>

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 isVectorLike = require( '@stdlib/assert-is-vector-like' );
24+
var getDType = require( '@stdlib/ndarray-base-dtype' );
2425

2526

2627
// MAIN //
@@ -45,7 +46,7 @@ var isVectorLike = require( '@stdlib/assert-is-vector-like' );
4546
* // returns false
4647
*/
4748
function isComplex128VectorLike( v ) {
48-
return ( isVectorLike( v ) && v.dtype === 'complex128' );
49+
return ( isVectorLike( 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-vector-like": "^0.2.2"
40+
"@stdlib/assert-is-vector-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 a 1-dimensional 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 ] ), [ 4 ], [ 1 ], 0, 'row-major' );
4040

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

@@ -57,7 +57,7 @@ tape( 'the function returns `true` if provided a 1-dimensional ndarray-like obje
5757
'set': noop
5858
};
5959

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

@@ -87,7 +87,7 @@ tape( 'the function returns `false` if not provided a 1-dimensional ndarray-like
8787
];
8888

8989
for ( i = 0; i < values.length; i++ ) {
90-
t.equal( isComplex128VectorLike( values[i] ), false, 'returns false when provided '+values[i] );
90+
t.strictEqual( isComplex128VectorLike( values[i] ), false, 'returns false when provided '+values[i] );
9191
}
9292
t.end();
9393
});

0 commit comments

Comments
 (0)