Skip to content

Commit ab3c2d9

Browse files
committed
Auto-generated commit
1 parent 26165b2 commit ab3c2d9

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,10 @@
442442

443443
### Bug Fixes
444444

445+
- [`186033e`](https://github.com/stdlib-js/stdlib/commit/186033e3cccf7faffaad1c101404de68f688027e) - address off-by-one bug
446+
- [`95313b8`](https://github.com/stdlib-js/stdlib/commit/95313b80fc669b87cf31298db9e03ff25cfdd312) - address off-by-one bug
447+
- [`c52126b`](https://github.com/stdlib-js/stdlib/commit/c52126b350f55f8d0b6a2622e367acdad9920dd6) - address off-by-one bug
448+
- [`12d0130`](https://github.com/stdlib-js/stdlib/commit/12d013004ea30a7d6eaf515df4875eee42feee89) - address off-by-one bug
445449
- [`b7368a4`](https://github.com/stdlib-js/stdlib/commit/b7368a45d5b0cc0bbdf695291837eee3d726da0a) - handle edge case when provided an empty ndarray
446450
- [`f84c1a6`](https://github.com/stdlib-js/stdlib/commit/f84c1a6ecbaf68b7dfbeef4576111bc277885d1a) - remove unused parameter
447451
- [`2848c77`](https://github.com/stdlib-js/stdlib/commit/2848c77bb0cf8fd2fc78fe72095a1aad2e545a36) - improve type specificity, remove unreachable path, and fix docs
@@ -605,6 +609,10 @@ A total of 31 issues were closed in this release:
605609

606610
<details>
607611

612+
- [`186033e`](https://github.com/stdlib-js/stdlib/commit/186033e3cccf7faffaad1c101404de68f688027e) - **fix:** address off-by-one bug _(by Athan Reines)_
613+
- [`95313b8`](https://github.com/stdlib-js/stdlib/commit/95313b80fc669b87cf31298db9e03ff25cfdd312) - **fix:** address off-by-one bug _(by Athan Reines)_
614+
- [`c52126b`](https://github.com/stdlib-js/stdlib/commit/c52126b350f55f8d0b6a2622e367acdad9920dd6) - **fix:** address off-by-one bug _(by Athan Reines)_
615+
- [`12d0130`](https://github.com/stdlib-js/stdlib/commit/12d013004ea30a7d6eaf515df4875eee42feee89) - **fix:** address off-by-one bug _(by Athan Reines)_
608616
- [`f8c51b3`](https://github.com/stdlib-js/stdlib/commit/f8c51b3a7653d158c23babe3b0986bb20b8b4029) - **feat:** add `ndarray/find` [(#4398)](https://github.com/stdlib-js/stdlib/pull/4398) _(by Gururaj Gurram, Athan Reines, stdlib-bot, Muhammad Haris)_
609617
- [`4667d97`](https://github.com/stdlib-js/stdlib/commit/4667d97da041e8685f8f8c25a5345fa289dbaf9c) - **docs:** update type _(by Athan Reines)_
610618
- [`4b8a736`](https://github.com/stdlib-js/stdlib/commit/4b8a736be3db63bd001c4b556bf69f60045a9df2) - **feat:** add `ndarray/base/copy` [(#8329)](https://github.com/stdlib-js/stdlib/pull/8329) _(by Muhammad Haris, Athan Reines)_

base/count-falsy/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function countFalsy( arrays ) {
314314
xmmv = minmaxViewBufferIndex( shx, sx, x.offset );
315315

316316
// Determine whether we can ignore shape (and strides) and treat the ndarray as a linear one-dimensional strided array...
317-
if ( len === ( xmmv[1]-xmmv[0]+1 ) || ( isCmplx && len*2 === ( xmmv[1]-xmmv[0]+1 ) ) ) { // eslint-disable-line max-len
317+
if ( len === ( xmmv[1]-xmmv[0]+1 ) || ( isCmplx && len*2 === ( xmmv[1]-xmmv[0]+2 ) ) ) { // eslint-disable-line max-len
318318
// Note: the above is equivalent to @stdlib/ndarray/base/assert/is-contiguous, but in-lined so we can retain computed values...
319319
if ( iox === 1 ) {
320320
ox = xmmv[ 0 ];

base/count-truthy/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function countTruthy( arrays ) {
314314
xmmv = minmaxViewBufferIndex( shx, sx, x.offset );
315315

316316
// Determine whether we can ignore shape (and strides) and treat the ndarray as a linear one-dimensional strided array...
317-
if ( len === ( xmmv[1]-xmmv[0]+1 ) || ( isCmplx && len*2 === ( xmmv[1]-xmmv[0]+1 ) ) ) { // eslint-disable-line max-len
317+
if ( len === ( xmmv[1]-xmmv[0]+1 ) || ( isCmplx && len*2 === ( xmmv[1]-xmmv[0]+2 ) ) ) { // eslint-disable-line max-len
318318
// Note: the above is equivalent to @stdlib/ndarray/base/assert/is-contiguous, but in-lined so we can retain computed values...
319319
if ( iox === 1 ) {
320320
ox = xmmv[ 0 ];

base/every/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function every( arrays ) {
314314
xmmv = minmaxViewBufferIndex( shx, sx, x.offset );
315315

316316
// Determine whether we can ignore shape (and strides) and treat the ndarray as a linear one-dimensional strided array...
317-
if ( len === ( xmmv[1]-xmmv[0]+1 ) || ( isCmplx && len*2 === ( xmmv[1]-xmmv[0]+1 ) ) ) { // eslint-disable-line max-len
317+
if ( len === ( xmmv[1]-xmmv[0]+1 ) || ( isCmplx && len*2 === ( xmmv[1]-xmmv[0]+2 ) ) ) { // eslint-disable-line max-len
318318
// Note: the above is equivalent to @stdlib/ndarray/base/assert/is-contiguous, but in-lined so we can retain computed values...
319319
if ( iox === 1 ) {
320320
ox = xmmv[ 0 ];

base/includes/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function includes( arrays ) {
346346
xmmv = minmaxViewBufferIndex( shx, sx, x.offset );
347347

348348
// Determine whether we can ignore shape (and strides) and treat the ndarray as a linear one-dimensional strided array...
349-
if ( len === ( xmmv[1]-xmmv[0]+1 ) || ( isCmplx && len*2 === ( xmmv[1]-xmmv[0]+1 ) ) ) { // eslint-disable-line max-len
349+
if ( len === ( xmmv[1]-xmmv[0]+1 ) || ( isCmplx && len*2 === ( xmmv[1]-xmmv[0]+2 ) ) ) { // eslint-disable-line max-len
350350
// Note: the above is equivalent to @stdlib/ndarray/base/assert/is-contiguous, but in-lined so we can retain computed values...
351351
if ( iox === 1 ) {
352352
ox = xmmv[ 0 ];

0 commit comments

Comments
 (0)