mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Re-lint a load of nodes
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = function(RED) {
|
||||
tot = tot + n - pop;
|
||||
tot2 = tot2 + (n*n) - (pop * pop);
|
||||
if (a.length > 1) {
|
||||
msg.payload = Math.sqrt((a.length * tot2 - tot * tot)/(a.length * (a.length - 1)));
|
||||
msg.payload = Math.sqrt((a.length * tot2 - tot * tot)/(a.length * (a.length - 1)));
|
||||
}
|
||||
else { msg.payload = 0; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user