Comparing version 3.0.0 to 3.1.0
18
index.js
@@ -9,6 +9,7 @@ module.exports = function reduce (acc, value) { | ||
mean: value, | ||
stdev: 0, | ||
count: 1, | ||
sum: value, | ||
sqsum: value*value, | ||
count: 1, | ||
stdev: 0 | ||
sqsum: value*value | ||
} | ||
@@ -35,8 +36,5 @@ | ||
module.exports.initial = { | ||
mean: 0, stdev: 0, | ||
count: 0, sum: 0, sqsum: 0 | ||
} |
{ | ||
"name": "statistics", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "calculate mean standard deviation in one pass", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/dominictarr/statistics", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2530
46