Skip to content

Commit 2a27723

Browse files
committed
Use equality test
1 parent 51a0e39 commit 2a27723

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/incr/gmean/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/incr/gmean/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function incrgmean() {
6767
*/
6868
function accumulator( x ) {
6969
if ( arguments.length === 0 ) {
70-
if ( N < 1 ) {
70+
if ( N === 0 ) {
7171
return null;
7272
}
7373
return v;

0 commit comments

Comments
 (0)