Skip to content

Commit 1d7f631

Browse files
committed
Auto-generated commit
1 parent a38220e commit 1d7f631

File tree

4 files changed

+19
-33
lines changed

4 files changed

+19
-33
lines changed

.github/.keepalive

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

CHANGELOG.md

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

7-
## Unreleased (2025-04-07)
7+
## Unreleased (2025-05-08)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`3088dea`](https://github.com/stdlib-js/stdlib/commit/3088deabee417ce890ccb15e87066ef11c3f2305) - **test:** fix lint errors _(by Athan Reines)_
1516
- [`abf0407`](https://github.com/stdlib-js/stdlib/commit/abf040787f6598438b0100a729a8331b7f80f62f) - **chore:** resolve lint errors in TS files _(by Philipp Burckhardt)_
1617

1718
</details>
@@ -24,8 +25,9 @@
2425

2526
### Contributors
2627

27-
A total of 1 person contributed to this release. Thank you to this contributor:
28+
A total of 2 people contributed to this release. Thank you to the following contributors:
2829

30+
- Athan Reines
2931
- Philipp Burckhardt
3032

3133
</section>

CONTRIBUTORS

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,18 @@ Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
5151
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
5252
Frank Kovacs <fran70kk@gmail.com>
5353
GK Bishnoi <gkishan1kyt@gmail.com>
54+
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5455
Gaurav <gaurav70380@gmail.com>
5556
Gautam sharma <gautamkrishnasharma1@gmail.com>
57+
Girish Garg <garggirish2020@gmail.com>
5658
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
5759
Gunj Joshi <gunjjoshi8372@gmail.com>
5860
Gururaj Gurram <gururajgurram1512@gmail.com>
5961
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
60-
Harsh <149176984+hrshya@users.noreply.github.com>
62+
Harsh <harshyadav6078@gmail.com>
6163
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
6264
Harshita Kalani <harshitakalani02@gmail.com>
65+
Hemang Choudhary <coehemang@gmail.com>
6366
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
6467
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
6568
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
@@ -77,15 +80,18 @@ Joris Labie <joris.labie1@gmail.com>
7780
Justin Dennison <justin1dennison@gmail.com>
7881
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
7982
Karan Anand <anandkarancompsci@gmail.com>
83+
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
8084
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8185
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
8286
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
8387
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
8488
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
8589
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
8690
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
91+
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
8792
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
8893
MANI <77221000+Eternity0207@users.noreply.github.com>
94+
Mahfuza Humayra Mohona <mhmohona@gmail.com>
8995
Manik Sharma <maniksharma.rke@gmail.com>
9096
Manvith M <148960168+manvith2003@users.noreply.github.com>
9197
Marcus Fantham <mfantham@users.noreply.github.com>
@@ -103,6 +109,7 @@ Naveen Kumar <stupiddint@gmail.com>
103109
Neeraj Pathak <neerajrpathak710@gmail.com>
104110
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
105111
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
112+
Nishant singh <38534128+Nishantsingh11@users.noreply.github.com>
106113
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
107114
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
108115
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
@@ -118,6 +125,7 @@ Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
118125
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
119126
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
120127
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
128+
Pravesh Kunwar <praveshkunwar04@gmail.com>
121129
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
122130
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
123131
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>
@@ -174,12 +182,15 @@ Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
174182
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
175183
Yugal Kaushik <yugalkaushik14@gmail.com>
176184
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
185+
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
177186
ditsu <170345142+ditsus@users.noreply.github.com>
178187
ekambains <bainsinbusiness@gmail.com>
179188
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
189+
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
180190
lohithganni <116790357+lohithganni@users.noreply.github.com>
181191
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
182192
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
183193
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
184194
rainn <88160429+AmCodesLame@users.noreply.github.com>
185195
rei2hu <reimu@reimu.ws>
196+
zhanggy <geodaoyu@foxmail.com>

docs/types/test.ts

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable max-lines */
19+
/* eslint-disable max-lines, prefer-const */
2020

2121
/// <reference types="@stdlib/types"/>
2222

2323
import { ndarray } from '@stdlib/types/ndarray';
24-
import { ArrayLike } from '@stdlib/types/array';
24+
import ind2sub = require( '@stdlib/ndarray-ind2sub' );
2525
import dispatch = require( './index' );
2626

2727

@@ -82,31 +82,6 @@ function quaternary( x: number, y: number, z: number, w: number ): number {
8282
return x + y + z + w;
8383
}
8484

85-
/**
86-
* Mock `ind2sub` function.
87-
*
88-
* @param shape - dimensions
89-
* @param idx - linear index
90-
* @param opts - options
91-
* @returns subscripts
92-
*/
93-
function ind2sub( shape: ArrayLike<number>, idx: number, opts?: any ): Array<number> {
94-
let out;
95-
let i;
96-
97-
out = [];
98-
if ( typeof opts === 'object' && opts !== null && opts.order === 'row-major' ) { no-unsafe-any
99-
for ( i = 0; i < shape.length; i += 1 ) {
100-
out.push( idx % shape[ i ] );
101-
}
102-
} else {
103-
for ( i = 0; i < shape.length; i += 1 ) {
104-
out.push( idx % shape[ i ] );
105-
}
106-
}
107-
return out;
108-
}
109-
11085
/**
11186
* Mock ndarray function.
11287
*
@@ -138,9 +113,8 @@ function ndarrayFcn( arrays: Array<ndarray>, fcn: ( x: any ) => any ): void {
138113
xord = x.order;
139114
yord = y.order;
140115
opts = {
141-
'order': ''
116+
'order': xord
142117
};
143-
opts.order = xord;
144118
for ( i = 0; i < N; i += 1 ) {
145119
// Convert a linear index to subscripts:
146120
opts.order = xord;

0 commit comments

Comments
 (0)