summaryrefslogtreecommitdiff
path: root/dtrain/hstreaming
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
commitc7c40bd3585a03f8f0dbb2df7a20aed6960b0922 (patch)
treededaf376c241addb0d168c1d16f841fd77bb70a1 /dtrain/hstreaming
parentb6a8fdc981daa3b01826a3be4c2355ee5cd61f0a (diff)
fix
Diffstat (limited to 'dtrain/hstreaming')
-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/