Skip to content

Commit 0172ef8

Browse files
committed
Auto-generated commit
1 parent d701f2d commit 0172ef8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

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

306306
### Bug Fixes
307307

308+
- [`495669a`](https://github.com/stdlib-js/stdlib/commit/495669aaf5064ff0043a6ceab9216a3b8c1c84f1) - update assertion
308309
- [`a300862`](https://github.com/stdlib-js/stdlib/commit/a300862d4f05d4d8bd85f1e235db93ad5d35a767) - address increment bugs
309310
- [`fab9873`](https://github.com/stdlib-js/stdlib/commit/fab9873a907807195f2f6673b5b97f09e383bd69) - address index bug
310311
- [`a4f78ea`](https://github.com/stdlib-js/stdlib/commit/a4f78ea79e24bab68ce4f3381c8bc9fb685bd002) - account for loop tiling when generating list of indices
@@ -428,6 +429,7 @@ A total of 17 issues were closed in this release:
428429

429430
<details>
430431

432+
- [`495669a`](https://github.com/stdlib-js/stdlib/commit/495669aaf5064ff0043a6ceab9216a3b8c1c84f1) - **fix:** update assertion _(by Athan Reines)_
431433
- [`67e9602`](https://github.com/stdlib-js/stdlib/commit/67e9602131f6e714d98de70ce6809cd9d327b02f) - **feat:** add `someBy` to namespace _(by Athan Reines)_
432434
- [`cc66d3b`](https://github.com/stdlib-js/stdlib/commit/cc66d3b709812126709d2d6c8232ffc2dbd8b576) - **feat:** add `ndarray/some-by` [(#7145)](https://github.com/stdlib-js/stdlib/pull/7145) _(by Muhammad Haris, Athan Reines)_
433435
- [`b3d811d`](https://github.com/stdlib-js/stdlib/commit/b3d811d4d6ba1aed9aa1c5e012bba252c99929b6) - **refactor:** reorder expressions _(by Athan Reines)_

some-by/lib/assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function assign( x, n, y, options, predicate, thisArg ) {
165165
ord = getOrder( x );
166166

167167
if ( isndarrayLike( n ) ) {
168-
if ( isIntegerDataType( getDtype( n ) ) ) {
168+
if ( !isIntegerDataType( getDtype( n ) ) ) {
169169
throw new TypeError( format( 'invalid argument. Second argument must have an integer data type. Value: `%s`.', n ) );
170170
}
171171
try {

0 commit comments

Comments
 (0)