Skip to content

Commit 06a0df1

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents 67f4feb + 2c288dd commit 06a0df1

File tree

29 files changed

+22631
-1
lines changed

29 files changed

+22631
-1
lines changed

lib/node_modules/@stdlib/ndarray/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)