Skip to content

Commit 0c23a3a

Browse files
committed
Auto-generated commit
1 parent 9882cec commit 0c23a3a

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

CHANGELOG.md

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

7-
## Unreleased (2025-12-27)
7+
## Unreleased (2025-12-29)
88

99
<section class="features">
1010

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

2323
<details>
2424

25+
- [`73f0550`](https://github.com/stdlib-js/stdlib/commit/73f055020dcc55a92d32c1cba59a7143d833813f) - **docs:** update dtype type _(by Athan Reines)_
2526
- [`28e03f0`](https://github.com/stdlib-js/stdlib/commit/28e03f081caf45695c941a8c2e279b6eab189460) - **test:** serialize returned dtype to string _(by Athan Reines)_
2627
- [`7f63ca2`](https://github.com/stdlib-js/stdlib/commit/7f63ca2e79dfec53d1424d7c29704f0ec4cd7af7) - **bench:** reduce maximum array size _(by Athan Reines)_
2728
- [`36d236e`](https://github.com/stdlib-js/stdlib/commit/36d236e438223bee95509ef8473b53387041a943) - **test:** guard against edge case _(by Athan Reines)_

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
options: Object (optional)
2020
Options.
2121

22-
options.dtype: string (optional)
22+
options.dtype: string|DataType (optional)
2323
Array data type. Must be a real or "generic" data type.
2424

2525
options.order: string (optional)

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var factory = require( './factory.js' );
3434
* @param {(PositiveNumber|ndarrayLike)} r - number of successes until experiment is stopped
3535
* @param {(Probability|ndarrayLike)} p - success probability
3636
* @param {Options} [options] - options
37-
* @param {string} [options.dtype] - output ndarray data type
37+
* @param {*} [options.dtype] - output ndarray data type
3838
* @param {string} [options.order="row-major"] - memory layout (either row-major or column-major)
3939
* @param {string} [options.mode="throw"] - specifies how to handle indices which exceed ndarray dimensions
4040
* @param {StringArray} [options.submode=["throw"]] - specifies how to handle subscripts which exceed ndarray dimensions on a per dimension basis

test/test.main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ tape( 'the function throws an error if provided an invalid option', function tes
140140

141141
values = [
142142
'5',
143-
5,
143+
'foo',
144144
null,
145145
true,
146146
false,

0 commit comments

Comments
 (0)