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 <[email protected]>
6+
Aarya Balwadkar <[email protected]>
67
Aayush Khanna <[email protected]>
78
Abdelrahman Samir <[email protected]>
9+
Abdul Kaium <[email protected]>
810
Abhay Punia <[email protected]>
911
Abhijit Raut <[email protected]>
1012
Abhishek Jain <[email protected]>
@@ -16,6 +18,7 @@ Ahmed Khaled <[email protected]>
1618
Aksshay Balasubramanian <[email protected]>
1719
Aleksandr <[email protected]>
1820
Ali Salesi <[email protected]>
21+
AlyAbdelmoneim <[email protected]>
1922
Aman Bhansali <[email protected]>
2023
AmanBhadkariya <[email protected]>
2124
Amit Jimiwal <[email protected]>
@@ -24,6 +27,7 @@ Anshu Kumar <[email protected]>
2427
Anudeep Sanapala <[email protected]>
2528
Athan Reines <[email protected]>
2629
30+
Bhavishy Agrawal <[email protected]>
2731
Brendan Graetz <[email protected]>
2832
Bruno Fenzl <[email protected]>
2933
Bryan Elee <[email protected]>
@@ -61,6 +65,7 @@ Jaimin Godhani <[email protected]>
6165
Jaison D Souza <[email protected]>
6266
Jalaj Kumar <[email protected]>
6367
James Gelok <[email protected]>
68+
6469
Jaysukh Makvana <[email protected]>
6570
Jenish Thapa <[email protected]>
6671
Jithin KS <[email protected]>
@@ -73,11 +78,13 @@ Justyn Shelby <[email protected]>
7378
Karan Anand <[email protected]>
7479
Karthik Prakash <[email protected]>
7580
Kaushikgtm <[email protected]>
81+
Kavyansh-Bagdi <[email protected]>
7682
Kohantika Nath <[email protected]>
7783
Krishnam Agarwal <[email protected]>
7884
Krishnendu Das <[email protected]>
7985
Kshitij-Dale <[email protected]>
8086
Lovelin Dhoni J B <[email protected]>
87+
8188
Manik Sharma <[email protected]>
8289
Manvith M <[email protected]>
8390
Marcus Fantham <[email protected]>
@@ -99,6 +106,7 @@ Ognjen Jevremović <[email protected]>
99106
Oneday12323 <[email protected]>
100107
Ori Miles <[email protected]>
101108
Philipp Burckhardt <[email protected]>
109+
Prajjwal Bajpai <[email protected]>
102110
Prajwal Kulkarni <[email protected]>
103111
Pranav Goswami <[email protected]>
104112
Pranjal Jha <[email protected]>
@@ -107,7 +115,9 @@ Pratik Singh <[email protected]>
107115
Pratyush Kumar Chouhan <[email protected]>
108116
Priyansh Prajapati <[email protected]>
109117
Priyanshu Agarwal <[email protected]>
118+
Pulkit Gupta <[email protected]>
110119
Pushpendra Chandravanshi <[email protected]>
120+
Rahul Kumar <[email protected]>
111121
Raunak Kumar Gupta <[email protected]>
112122
Rejoan Sardar <[email protected]>
113123
Ricky Reusser <[email protected]>
@@ -120,8 +130,12 @@ Rutam Kathale <[email protected]>
120130
Ruthwik Chikoti <[email protected]>
121131
Ryan Seal <[email protected]>
122132
Rylan Yang <[email protected]>
133+
SAHIL KUMAR <[email protected]>
123134
SHIVAM YADAV <[email protected]>
135+
Sahil Goyal <[email protected]>
136+
Sai Avinash <[email protected]>
124137
Sai Srikar Dumpeti <[email protected]>
138+
Sanchay Ketan Sinha <[email protected]>
125139
Sarthak Paandey <[email protected]>
126140
Saurabh Singh <[email protected]>
127141
Seyyed Parsa Neshaei <[email protected]>
@@ -157,6 +171,7 @@ Yuvi Mittal <[email protected]>
157171
158172
ekambains <[email protected]>
159173
fadiothman22 <[email protected]>
174+
lohithganni <[email protected]>
160175
olenkabilonizhka <[email protected]>
161176
pranav-1720 <[email protected]>
162177
rahulrangers <[email protected]>

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)