diff options
Diffstat (limited to 'dtrain/hstreaming/red-avg.rb')
-rwxr-xr-x | dtrain/hstreaming/red-avg.rb | 2 |
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/ |