Skip to content

Commit 110afbc

Browse files
committed
Auto-generated commit
1 parent 3207cce commit 110afbc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,7 @@ A total of 49 issues were closed in this release:
950950

951951
<details>
952952

953+
- [`356fa98`](https://github.com/stdlib-js/stdlib/commit/356fa98b0572792aa89fe8a36acdf1f4f629826f) - **docs:** add note _(by Athan Reines)_
953954
- [`3a2c420`](https://github.com/stdlib-js/stdlib/commit/3a2c4202494b17834a1d35227a9d79aa7339cac1) - **feat:** add `falses` to namespace _(by Athan Reines)_
954955
- [`fad2314`](https://github.com/stdlib-js/stdlib/commit/fad2314e74226b9cfc8c983a83cfd32a68360a56) - **feat:** add `ndarray/falses` _(by Athan Reines)_
955956
- [`b2eb5da`](https://github.com/stdlib-js/stdlib/commit/b2eb5da5b94858e0d40f62ebe33ef5f52d398acc) - **docs:** update related packages sections [(#12164)](https://github.com/stdlib-js/stdlib/pull/12164) _(by stdlib-bot)_

falses/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function falses( shape ) {
139139
st = [ 0 ];
140140
}
141141
out = new ndarray( dtype, buffer( dtype, len ), sh, st, 0, order, opts );
142-
fill( out, false );
142+
fill( out, false ); // note: we need to explicitly fill, even though a `BooleanArray` instance contains only `false` values upon length-based initialization, as we also need to account for other dtypes, such as "generic", which may be initialized with values other than `false`
143143
return out;
144144
}
145145

0 commit comments

Comments
 (0)