Skip to content

Commit ff5777a

Browse files
committed
Auto-generated commit
1 parent 8d8480c commit ff5777a

File tree

14 files changed

+18653
-1
lines changed

14 files changed

+18653
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ A total of 34 issues were closed in this release:
641641

642642
<details>
643643

644+
- [`2c288dd`](https://github.com/stdlib-js/stdlib/commit/2c288dd3ff3e8b2e9b3a0c9189a019ec962f24e8) - **test:** add tests to `ndarray/base/count-if` [(#8318)](https://github.com/stdlib-js/stdlib/pull/8318) _(by Muhammad Haris, Athan Reines)_
644645
- [`a2fd4d6`](https://github.com/stdlib-js/stdlib/commit/a2fd4d6929c7af4f33ebe97d53fec4b7a9bcbf33) - **feat:** add `ndarray/some` [(#8514)](https://github.com/stdlib-js/stdlib/pull/8514) _(by Muhammad Haris, Athan Reines)_
645646
- [`b7a1ba3`](https://github.com/stdlib-js/stdlib/commit/b7a1ba3a07bae5c3cf02aaa576fd2f24b0f62f2f) - **docs:** remove duplicated example _(by Philipp Burckhardt)_
646647
- [`298b612`](https://github.com/stdlib-js/stdlib/commit/298b612c3406864fddd120b84a713f657cafd458) - **chore:** fix JavaScript lint errors [(#8509)](https://github.com/stdlib-js/stdlib/pull/8509) _(by kaushal-kumar-it)_

base/count-if/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function countIf( arrays, predicate, thisArg ) {
193193
}
194194
// Check whether we were provided an empty ndarray...
195195
if ( numel( shx ) === 0 ) {
196-
return true;
196+
return 0;
197197
}
198198
// Determine whether we can avoid blocked iteration...
199199
if ( ndims <= MAX_DIMS && iterationOrder( x.strides ) !== 0 ) {

0 commit comments

Comments
 (0)