Skip to content

Commit b5879d9

Browse files
committed
Auto-generated commit
1 parent bccc1fa commit b5879d9

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

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

672672
### Bug Fixes
673673

674+
- [`8516750`](https://github.com/stdlib-js/stdlib/commit/851675024a46ddac355e48493759d1e793a1de8a) - add missing suffix wrappers [(#11904)](https://github.com/stdlib-js/stdlib/pull/11904)
674675
- [`aab9a13`](https://github.com/stdlib-js/stdlib/commit/aab9a1327da0e6143b0548a9d47c08d1947ddb58) - remove assertion
675676
- [`b7f85c2`](https://github.com/stdlib-js/stdlib/commit/b7f85c29d4147a1c0194329881eb07ef695ddaee) - use correct validation package
676677
- [`5795b39`](https://github.com/stdlib-js/stdlib/commit/5795b39e0f0f1d7ccae3ea1ed43809b7ff78b77d) - determine layout based on physical layout
@@ -918,6 +919,7 @@ A total of 49 issues were closed in this release:
918919

919920
<details>
920921

922+
- [`8516750`](https://github.com/stdlib-js/stdlib/commit/851675024a46ddac355e48493759d1e793a1de8a) - **fix:** add missing suffix wrappers [(#11904)](https://github.com/stdlib-js/stdlib/pull/11904) _(by Philipp Burckhardt)_
921923
- [`86e9aee`](https://github.com/stdlib-js/stdlib/commit/86e9aee4ae52aab8c7b7a1bbf2293da606e7c439) - **docs:** restore section template comments in `ndarray/base/diagonal` and `ndarray/last` [(#11903)](https://github.com/stdlib-js/stdlib/pull/11903) _(by Philipp Burckhardt)_
922924
- [`738b2c7`](https://github.com/stdlib-js/stdlib/commit/738b2c717eb26b3e374351f754d578f2035aaf20) - **docs:** update namespace table of contents [(#11916)](https://github.com/stdlib-js/stdlib/pull/11916) _(by stdlib-bot)_
923925
- [`0edd0da`](https://github.com/stdlib-js/stdlib/commit/0edd0dafa26d1c286fcf60de7f42c7f6214e7d87) - **docs:** update ToC _(by Athan Reines)_

ctor/test/test.instance.get_nd.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,18 @@ tape( 'an ndarray constructor returns an instance which has a `get` method which
7878

7979
function badValue( value, dim ) {
8080
return function badValue() {
81-
var args = new Array( shape.length );
81+
var args;
82+
var v;
8283
var i;
8384

84-
for ( i = 0; i < args.length; i++ ) {
85+
args = [];
86+
for ( i = 0; i < shape.length; i++ ) {
8587
if ( i === dim ) {
86-
args[ i ] = value;
88+
v = value;
8789
} else {
88-
args[ i ] = 0;
90+
v = 0;
8991
}
92+
args.push( v );
9093
}
9194
arr.get.apply( arr, args );
9295
};

0 commit comments

Comments
 (0)