summaryrefslogtreecommitdiff
path: root/dtrain
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-11-28 17:43:55 +0100
committerPatrick Simianer <p@simianer.de>2011-11-28 17:43:55 +0100
commitc40cf8fb50b8b0ae3c20566e10fd34e921046b91 (patch)
tree2de50858cc298337a9eb00318ca78579b8bd5425 /dtrain
parent6e4367db4136e7a7de3771edf964a16c2fdf08a6 (diff)
fix
Diffstat (limited to 'dtrain')
-rwxr-xr-xdtrain/hstreaming/red-avg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrain/hstreaming/red-avg.rb b/dtrain/hstreaming/red-avg.rb
index c0b69eb4..9326ffbe 100755
--- a/dtrain/hstreaming/red-avg.rb
+++ b/dtrain/hstreaming/red-avg.rb
@@ -7,7 +7,7 @@ STDOUT.set_encoding 'utf-8'
w = {}
c = {}
-w.default = 0.
+w.default = 0
c.default = 0
while line = STDIN.gets
key, val = line.split /\t/