Skip to content
Browse files

Oops again.

  • Loading branch information...
1 parent ec83c55 commit 19c1cb08be227340652db39325e87c56f1bc7915 @postmodern committed Feb 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/raingrams/statistics/frequency.rb
View
2 lib/raingrams/statistics/frequency.rb
@@ -36,7 +36,7 @@ def frequencies_for(ngrams)
def frequency_of_ngrams(ngrams)
total = 0
- frequencies_for(ngrams).each_value { |freq| total + freq }
+ frequencies_for(ngrams).each_value { |freq| total += freq }
return total
end
end

0 comments on commit 19c1cb0

Please sign in to comment.
Something went wrong with that request. Please try again.