Skip to content

Commit fcfe407

Browse files
committed
Auto-generated commit
1 parent 31e7fb3 commit fcfe407

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@
643643

644644
### Bug Fixes
645645

646+
- [`aab9a13`](https://github.com/stdlib-js/stdlib/commit/aab9a1327da0e6143b0548a9d47c08d1947ddb58) - remove assertion
646647
- [`b7f85c2`](https://github.com/stdlib-js/stdlib/commit/b7f85c29d4147a1c0194329881eb07ef695ddaee) - use correct validation package
647648
- [`5795b39`](https://github.com/stdlib-js/stdlib/commit/5795b39e0f0f1d7ccae3ea1ed43809b7ff78b77d) - determine layout based on physical layout
648649
- [`c20c5d6`](https://github.com/stdlib-js/stdlib/commit/c20c5d602a0f897e86d7fbd83180fec84c535984) - determine layout based on physical layout
@@ -889,6 +890,8 @@ A total of 49 issues were closed in this release:
889890

890891
<details>
891892

893+
- [`7c667ac`](https://github.com/stdlib-js/stdlib/commit/7c667ac5c40f8e10bca18a6f07e8653370ce11d8) - **test:** resolve failing test _(by Athan Reines)_
894+
- [`aab9a13`](https://github.com/stdlib-js/stdlib/commit/aab9a1327da0e6143b0548a9d47c08d1947ddb58) - **fix:** remove assertion _(by Athan Reines)_
892895
- [`c4e9971`](https://github.com/stdlib-js/stdlib/commit/c4e9971c33c8463e72c440116ca0fa0cfb3f580b) - **feat:** add `ndarray/rotl90` [(#11773)](https://github.com/stdlib-js/stdlib/pull/11773) _(by Muhammad Haris)_
893896
- [`226ee9d`](https://github.com/stdlib-js/stdlib/commit/226ee9d574db47f41dae9c13cece3c6b47925d78) - **feat:** add `ndarray/base/to-rotl90` [(#11776)](https://github.com/stdlib-js/stdlib/pull/11776) _(by Muhammad Haris)_
894897
- [`9d3b90d`](https://github.com/stdlib-js/stdlib/commit/9d3b90d4f3464f0aa73a4fcf5ac1eb1dcdf5bf96) - **feat:** add `toRotr90` to namespace _(by Athan Reines)_

rot90/lib/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
// MODULES //
2222

2323
var isIntegerArray = require( '@stdlib/assert/is-integer-array' ).primitives;
24-
var isEmptyCollection = require( '@stdlib/assert/is-empty-collection' );
2524
var isInteger = require( '@stdlib/assert/is-integer' ).isPrimitive;
2625
var isPlainObject = require( '@stdlib/assert/is-plain-object' );
2726
var isndarrayLike = require( '@stdlib/assert/is-ndarray-like' );
@@ -84,7 +83,7 @@ function rot90( x, options ) {
8483
k = options.k;
8584
}
8685
if ( hasOwnProp( options, 'dims' ) ) {
87-
if ( !isIntegerArray( options.dims ) && !isEmptyCollection( options.dims ) ) { // eslint-disable-line max-len
86+
if ( !isIntegerArray( options.dims ) ) {
8887
throw new TypeError( format( 'invalid option. `%s` option must be an array of integers. Option: `%s`.', 'dims', options.dims ) );
8988
}
9089
dims = options.dims;

rot90/test/test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ tape( 'the function throws an error if provided a `dims` option which does not c
208208
x = new ndarray( 'float64', [ 1, 2, 3, 4 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
209209

210210
values = [
211-
[],
212211
[ 0 ],
213212
[ 0, 1, 0 ]
214213
];

0 commit comments

Comments
 (0)