Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Sep 22, 2024
1 parent c6a19ee commit d35d67e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<section class="release" id="unreleased">

## Unreleased (2024-09-21)
## Unreleased (2024-09-22)

<section class="packages">

Expand Down Expand Up @@ -145,6 +145,11 @@ A total of 3 people contributed to this release. Thank you to the following cont

<details>

- [`37ef5f4`](https://github.com/stdlib-js/stdlib/commit/37ef5f4f43d4fe03643b693a40b166420cbb07fd) - **refactor:** use dedicated array utility _(by Athan Reines)_
- [`2e00b1f`](https://github.com/stdlib-js/stdlib/commit/2e00b1f79b968e3436fbb2cf406b308029cd7156) - **refactor:** use dedicated array utility _(by Athan Reines)_
- [`bcc9d29`](https://github.com/stdlib-js/stdlib/commit/bcc9d29f11ad54bd388625ae257668304d829a5c) - **refactor:** use dedicated array utility _(by Athan Reines)_
- [`8436f67`](https://github.com/stdlib-js/stdlib/commit/8436f675a80d4824d8571b2b1ce91c5c17e3938d) - **refactor:** use dedicated array utility _(by Athan Reines)_
- [`b675172`](https://github.com/stdlib-js/stdlib/commit/b675172498c9449ca0e957f4af9694b8bc0f8dc6) - **refactor:** use dedicated array utility _(by Athan Reines)_
- [`6e9f42e`](https://github.com/stdlib-js/stdlib/commit/6e9f42e4c912485d9896eaa16c88b70fd3688e97) - **docs:** harmonize list formatting in repl.txt and ensure starting newline _(by Philipp Burckhardt)_
- [`f387603`](https://github.com/stdlib-js/stdlib/commit/f387603e739f88a38af3263ce6ff675ad903ee8c) - **docs:** consistently use declarative instead of imperative sentences outside of intros _(by Philipp Burckhardt)_
- [`95ef049`](https://github.com/stdlib-js/stdlib/commit/95ef04997f2f0f98406dbdf59c5c0ff757c5637a) - **docs:** fix grammar _(by Athan Reines)_
Expand Down
4 changes: 2 additions & 2 deletions base/reverse-dimension/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var args2multislice = require( '@stdlib/slice/base/args2multislice' );
var Slice = require( '@stdlib/slice/ctor' );
var slice = require( './../../../base/slice' );
var filled = require( '@stdlib/array/base/filled' );
var nulls = require( '@stdlib/array/base/nulls' );
var ndims = require( './../../../base/ndims' );
var format = require( '@stdlib/string/format' );

Expand Down Expand Up @@ -90,7 +90,7 @@ function reverseDimension( x, dim, writable ) {
throw new RangeError( format( 'invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.', N, dim ) );
}
// Define a list of MultiSlice constructor arguments:
args = filled( null, N );
args = nulls( N );
args[ d ] = new Slice( null, null, -1 );

// Return a new array view:
Expand Down
4 changes: 2 additions & 2 deletions base/slice-dimension-from/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var Slice = require( '@stdlib/slice/ctor' );
var ndims = require( './../../../base/ndims' );
var slice = require( './../../../base/slice' );
var normalizeIndex = require( './../../../base/normalize-index' );
var filled = require( '@stdlib/array/base/filled' );
var nulls = require( '@stdlib/array/base/nulls' );
var format = require( '@stdlib/string/format' );


Expand Down Expand Up @@ -89,7 +89,7 @@ function sliceDimensionFrom( x, dim, start, strict, writable ) {
throw new RangeError( format( 'invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.', N, dim ) );
}
// Define a list of slice arguments:
args = filled( null, N );
args = nulls( N );
args[ d ] = new Slice( start, null );

// Return a new array view:
Expand Down
4 changes: 2 additions & 2 deletions base/slice-dimension-to/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var Slice = require( '@stdlib/slice/ctor' );
var ndims = require( './../../../base/ndims' );
var slice = require( './../../../base/slice' );
var normalizeIndex = require( './../../../base/normalize-index' );
var filled = require( '@stdlib/array/base/filled' );
var nulls = require( '@stdlib/array/base/nulls' );
var format = require( '@stdlib/string/format' );


Expand Down Expand Up @@ -89,7 +89,7 @@ function sliceDimensionTo( x, dim, stop, strict, writable ) {
throw new RangeError( format( 'invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.', N, dim ) );
}
// Define a list of slice arguments:
args = filled( null, N );
args = nulls( N );
args[ d ] = new Slice( stop );

// Return a new array view:
Expand Down
4 changes: 2 additions & 2 deletions base/slice-dimension/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var args2multislice = require( '@stdlib/slice/base/args2multislice' );
var ndims = require( './../../../base/ndims' );
var slice = require( './../../../base/slice' );
var normalizeIndex = require( './../../../base/normalize-index' );
var filled = require( '@stdlib/array/base/filled' );
var nulls = require( '@stdlib/array/base/nulls' );
var format = require( '@stdlib/string/format' );


Expand Down Expand Up @@ -92,7 +92,7 @@ function sliceDimension( x, dim, s, strict, writable ) {
throw new RangeError( format( 'invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.', N, dim ) );
}
// Define a list of MultiSlice constructor arguments:
args = filled( null, N );
args = nulls( N );
args[ d ] = s;

// Return a new array view:
Expand Down
4 changes: 2 additions & 2 deletions iter/select-dimension/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var isndarrayLike = require( '@stdlib/assert/is-ndarray-like' );
var isReadOnly = require( './../../../base/assert/is-read-only' );
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
var iteratorSymbol = require( '@stdlib/symbol/iterator' );
var filled = require( '@stdlib/array/base/filled' );
var nulls = require( '@stdlib/array/base/nulls' );
var getShape = require( './../../../shape' );
var normalizeIndex = require( './../../../base/normalize-index' );
var numel = require( './../../../base/numel' );
Expand Down Expand Up @@ -143,7 +143,7 @@ function nditerSelectDimension( x, dim ) {
i = -1;

// Initialize an index array for generating slices:
idx = filled( null, ndims );
idx = nulls( ndims );

// Create an iterator protocol-compliant object:
iter = {};
Expand Down

0 comments on commit d35d67e

Please sign in to comment.