summaryrefslogtreecommitdiff
path: root/dtrain
diff options
context:
space:
mode:
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/