Skip to content

Commit e3df305

Browse files
committed
Auto-generated commit
1 parent a0f0957 commit e3df305

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@
481481

482482
### Bug Fixes
483483

484+
- [`a0191a5`](https://github.com/stdlib-js/stdlib/commit/a0191a5c95f5f40d8247e1e5679812aef0d81b1c) - ensure sentinel value is passed through
484485
- [`519b1d3`](https://github.com/stdlib-js/stdlib/commit/519b1d3f8c95f09c8f173083ed52ea0b051b7140) - improve type specificity
485486
- [`01ab290`](https://github.com/stdlib-js/stdlib/commit/01ab29036205f4a0507133c1a4a7fd429bb7bd9e) - rename import in `ndarray/base/unary-strided1d-dispatch` to resolve conflict [(#9010)](https://github.com/stdlib-js/stdlib/pull/9010)
486487
- [`83a01e7`](https://github.com/stdlib-js/stdlib/commit/83a01e723e9037a2c402c1e60b54bc678ef27078) - enforce mostly-safe casting
@@ -654,6 +655,7 @@ A total of 37 issues were closed in this release:
654655

655656
<details>
656657

658+
- [`a0191a5`](https://github.com/stdlib-js/stdlib/commit/a0191a5c95f5f40d8247e1e5679812aef0d81b1c) - **fix:** ensure sentinel value is passed through _(by Athan Reines)_
657659
- [`2e0f8e6`](https://github.com/stdlib-js/stdlib/commit/2e0f8e6476ccc5194c02d472a327fb8a425fdfae) - **feat:** add `ndarray/push` [(#9054)](https://github.com/stdlib-js/stdlib/pull/9054) _(by Muhammad Haris, Athan Reines)_
658660
- [`519b1d3`](https://github.com/stdlib-js/stdlib/commit/519b1d3f8c95f09c8f173083ed52ea0b051b7140) - **fix:** improve type specificity _(by Athan Reines)_
659661
- [`3feb022`](https://github.com/stdlib-js/stdlib/commit/3feb02271d5335920ebbd4ca0268f0a24340e168) - **feat:** add `ndarray/flatten-from-by` [(#9040)](https://github.com/stdlib-js/stdlib/pull/9040) _(by Muhammad Haris, Athan Reines)_

find/lib/validate.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ var format = require( '@stdlib/string/format' );
4141
* @param {Options} options - function options
4242
* @param {boolean} [options.keepdims] - boolean indicating whether the reduced dimensions should be included in the returned ndarray as singleton dimensions
4343
* @param {IntegerArray} [options.dims] - list of dimensions over which to perform a reduction
44+
* @param {(*|ndarray)} [options.sentinelValue] - sentinel value
4445
* @returns {(Error|null)} null or an error object
4546
*
4647
* @example
@@ -81,6 +82,9 @@ function validate( opts, ndims, options ) {
8182
}
8283
opts.dims = tmp;
8384
}
85+
if ( hasOwnProp( options, 'sentinelValue' ) ) {
86+
opts.sentinelValue = options.sentinelValue;
87+
}
8488
return null;
8589
}
8690

0 commit comments

Comments
 (0)