Skip to content

Commit 1832a28

Browse files
committed
Auto-generated commit
1 parent c270fd8 commit 1832a28

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-09-29)
7+
## Unreleased (2025-09-30)
88

99
<section class="features">
1010

@@ -599,6 +599,7 @@ A total of 26 issues were closed in this release:
599599

600600
<details>
601601

602+
- [`5d2dca1`](https://github.com/stdlib-js/stdlib/commit/5d2dca1fb86de3ac7e2b15c56ff948a9969d5abb) - **chore:** minor clean-up _(by Philipp Burckhardt)_
602603
- [`29cde0f`](https://github.com/stdlib-js/stdlib/commit/29cde0f6f44f4a6a4a70ff59b4ca2d2aab0ab4aa) - **feat:** add `ndarray/shift` [(#8147)](https://github.com/stdlib-js/stdlib/pull/8147) _(by Muhammad Haris, Athan Reines)_
603604
- [`08a671a`](https://github.com/stdlib-js/stdlib/commit/08a671a9e339db0bfbd5953891c9a9c3e1f5beb2) - **docs:** add note _(by Athan Reines)_
604605
- [`e49d1a0`](https://github.com/stdlib-js/stdlib/commit/e49d1a00ad07054f006f0a9a3fd52dbce217ea84) - **docs:** add note _(by Athan Reines)_

shift/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var y = shift( x );
6060
// returns [ <ndarray>, <ndarray> ]
6161

6262
arr = ndarray2array( y[ 0 ] );
63-
// returns [ [ 2.0], [ 4.0 ], [ 6.0 ] ]
63+
// returns [ [ 2.0 ], [ 4.0 ], [ 6.0 ] ]
6464

6565
arr = ndarray2array( y[ 1 ] );
6666
// returns [ [ 1.0 ], [ 3.0 ], [ 5.0 ] ]

shift/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var format = require( '@stdlib/string/format' );
3939
* @throws {TypeError} first argument must be an ndarray having one or more dimensions
4040
* @throws {RangeError} dimension index exceeds the number of dimensions
4141
* @throws {TypeError} options argument must be an object
42-
* * @throws {TypeError} must provide valid options
42+
* @throws {TypeError} must provide valid options
4343
* @returns {Array<ndarray>} a list of ndarray views
4444
*
4545
* @example
@@ -83,7 +83,7 @@ function shift( x ) {
8383
}
8484
if ( hasOwnProp( options, 'dim' ) ) {
8585
if ( !isInteger( options.dim ) ) {
86-
throw new TypeError( format( 'invalid option. `%s` option must be an integer. Option: `%s`.', 'strict', options.dim ) );
86+
throw new TypeError( format( 'invalid option. `%s` option must be an integer. Option: `%s`.', 'dim', options.dim ) );
8787
}
8888
opts.dim = options.dim;
8989
}

0 commit comments

Comments
 (0)