Skip to content

Commit a9e292d

Browse files
committed
Auto-generated commit
1 parent 2317af7 commit a9e292d

File tree

9 files changed

+63
-48
lines changed

9 files changed

+63
-48
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,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-03-17)
7+
## Unreleased (2025-04-02)
88

99
<section class="bug-fixes">
1010

@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`8805742`](https://github.com/stdlib-js/stdlib/commit/8805742fbac8884ef6727b4a177f1a0cc940bdce) - **chore:** resolve lint errors in `random/base/minstd` [(#6498)](https://github.com/stdlib-js/stdlib/pull/6498) _(by Abdul Kaium, Athan Reines)_
2526
- [`05cdb8f`](https://github.com/stdlib-js/stdlib/commit/05cdb8f1e70b25fdd7fdaa822d8180fbf9588083) - **docs:** update examples _(by Athan Reines)_
2627
- [`faa4da3`](https://github.com/stdlib-js/stdlib/commit/faa4da3f2c52be1b422d3b08c7ee6b659d848556) - **docs:** fix include paths in examples _(by Athan Reines)_
2728
- [`51ab6ca`](https://github.com/stdlib-js/stdlib/commit/51ab6cac709c2c8a117eac6894b0594ef9184323) - **fix:** update include paths and reorder includes _(by Athan Reines)_
@@ -38,8 +39,9 @@
3839

3940
### Contributors
4041

41-
A total of 2 people contributed to this release. Thank you to the following contributors:
42+
A total of 3 people contributed to this release. Thank you to the following contributors:
4243

44+
- Abdul Kaium
4345
- Athan Reines
4446
- Philipp Burckhardt
4547

CONTRIBUTORS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <jain.aadishj@gmail.com>
6+
Aarya Balwadkar <142713127+AaryaBalwadkar@users.noreply.github.com>
67
Aayush Khanna <aayushiitbhu23@gmail.com>
78
Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
9+
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
810
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
911
Abhijit Raut <abhijitmraut8010@gmail.com>
1012
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
@@ -16,6 +18,7 @@ Ahmed Khaled <kahmd1444@gmail.com>
1618
Aksshay Balasubramanian <119944779+Aksshay88@users.noreply.github.com>
1719
Aleksandr <112382387+alextes90@users.noreply.github.com>
1820
Ali Salesi <ali_sal1381@yahoo.com>
21+
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
1922
Aman Bhansali <bhansali.1@iitj.ac.in>
2023
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
2124
Amit Jimiwal <amitjimiwal45@gmail.com>
@@ -24,6 +27,7 @@ Anshu Kumar <contact.anshukumar@protonmail.com>
2427
Anudeep Sanapala <anudeep0306@gmail.com>
2528
Athan Reines <kgryte@gmail.com>
2629
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
30+
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
2731
Brendan Graetz <bguiz@users.noreply.github.com>
2832
Bruno Fenzl <brunofenzl@gmail.com>
2933
Bryan Elee <rxbryn@gmail.com>
@@ -61,6 +65,7 @@ Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
6165
Jaison D Souza <123267719+jsndz@users.noreply.github.com>
6266
Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com>
6367
James Gelok <jdgelok@gmail.com>
68+
Jay Soni <jaygsoni14@gmail.com>
6469
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
6570
Jenish Thapa <141203631+jenish-thapa@users.noreply.github.com>
6671
Jithin KS <jithinks112@gmail.com>
@@ -73,11 +78,13 @@ Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
7378
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
7479
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
7580
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
81+
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
7682
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
7783
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
7884
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
7985
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
8086
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
87+
MANI <77221000+Eternity0207@users.noreply.github.com>
8188
Manik Sharma <maniksharma.rke@gmail.com>
8289
Manvith M <148960168+manvith2003@users.noreply.github.com>
8390
Marcus Fantham <mfantham@users.noreply.github.com>
@@ -99,6 +106,7 @@ Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
99106
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
100107
Ori Miles <97595296+orimiles5@users.noreply.github.com>
101108
Philipp Burckhardt <pburckhardt@outlook.com>
109+
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
102110
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
103111
Pranav Goswami <pranavchiku11@gmail.com>
104112
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
@@ -107,7 +115,9 @@ Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
107115
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
108116
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
109117
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
118+
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>
110119
Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
120+
Rahul Kumar <132570066+rahulptl165@users.noreply.github.com>
111121
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
112122
Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com>
113123
Ricky Reusser <rsreusser@gmail.com>
@@ -120,8 +130,12 @@ Rutam Kathale <138517416+performant23@users.noreply.github.com>
120130
Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
121131
Ryan Seal <splrk@users.noreply.github.com>
122132
Rylan Yang <137365285+rylany27@users.noreply.github.com>
133+
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
123134
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
135+
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
136+
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
124137
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
138+
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
125139
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
126140
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
127141
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
@@ -157,6 +171,7 @@ Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
157171
ditsu <170345142+ditsus@users.noreply.github.com>
158172
ekambains <bainsinbusiness@gmail.com>
159173
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
174+
lohithganni <116790357+lohithganni@users.noreply.github.com>
160175
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
161176
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
162177
rahulrangers <127782777+rahulrangers@users.noreply.github.com>

dist/index.js.map

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

docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ import minstd = require( './index' );
8686
minstd.factory( { 'state': null } ); // $ExpectError
8787
minstd.factory( { 'state': [] } ); // $ExpectError
8888
minstd.factory( { 'state': {} } ); // $ExpectError
89-
minstd.factory( { 'state': true ); // $ExpectError
89+
minstd.factory( { 'state': true } ); // $ExpectError
9090
minstd.factory( { 'state': ( x: number ): number => x } ); // $ExpectError
9191
}
9292

lib/main.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,15 @@ var randint32 = require( './rand_int32.js' );
7575
*
7676
* The values for \\( a \\), \\( c \\), and \\( m \\) are taken from Park and Miller, "Random Number Generators: Good Ones Are Hard To Find". Park's and Miller's article is also the basis for a recipe in the second edition of _Numerical Recipes in C_.
7777
*
78-
*
7978
* ## Notes
8079
*
8180
* - The generator has a period of approximately \\(2.1\mbox{e}9\\) (see [Numerical Recipes in C, 2nd Edition](#references), p. 279).
8281
*
83-
*
8482
* ## References
8583
*
8684
* - Park, S. K., and K. W. Miller. 1988. "Random Number Generators: Good Ones Are Hard to Find." _Communications of the ACM_ 31 (10). New York, NY, USA: ACM: 1192–1201. doi:[10.1145/63039.63042](http://dx.doi.org/10.1145/63039.63042).
8785
* - Press, William H., Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling. 1992. _Numerical Recipes in C: The Art of Scientific Computing, Second Edition_. Cambridge University Press.
8886
*
89-
*
9087
* @function minstd
9188
* @type {PRNG}
9289
* @returns {PositiveInteger} pseudorandom integer

manifest.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
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-
"@stdlib/random-base-shared"
37-
]
38-
}
39-
]
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+
"@stdlib/random-base-shared"
37+
]
38+
}
39+
]
4040
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
6161
},
6262
"devDependencies": {
63+
"@stdlib/array-base-zeros": "^0.2.2",
6364
"@stdlib/math-base-assert-is-nan": "^0.2.2",
6465
"@stdlib/math-base-assert-is-positive-integer": "^0.3.0",
6566
"@stdlib/process-env": "^0.2.2",

test/test.factory.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ var Int32Array = require( '@stdlib/array-int32' );
3232
var kstest = require( '@stdlib/stats-kstest' );
3333
var gcopy = require( '@stdlib/blas-base-gcopy' );
3434
var typedarray2json = require( '@stdlib/array-to-json' );
35+
var zeros = require( '@stdlib/array-base-zeros' );
3536
var factory = require( './../lib/factory.js' );
3637

3738

@@ -1094,7 +1095,7 @@ tape( 'the `normalized` method returns pseudorandom numbers drawn from a uniform
10941095

10951096
threshold = 0.10;
10961097

1097-
x = new Array( 1e3 );
1098+
x = zeros( 1e3 );
10981099
N = 500;
10991100

11001101
count = -1;

0 commit comments

Comments
 (0)