We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51a0e39 commit 2a27723Copy full SHA for 2a27723
lib/node_modules/@stdlib/stats/incr/gmean/lib/main.js
@@ -67,7 +67,7 @@ function incrgmean() {
67
*/
68
function accumulator( x ) {
69
if ( arguments.length === 0 ) {
70
- if ( N < 1 ) {
+ if ( N === 0 ) {
71
return null;
72
}
73
return v;
0 commit comments