Business intelligence made simple
Improved to_h call [skip ci]
Andrew Kaneb051b8e68b5f
diff --git a/lib/blazer/result.rb b/lib/blazer/result.rbindex a74b2eff..90106c6c 100644--- a/lib/blazer/result.rb+++ b/lib/blazer/result.rb@@ -114,7 +114,7 @@ module Blazer# round integersif @rows[0][1].is_a?(Integer)- forecast = forecast.map { |k, v| [k, v.round] }.to_h+ forecast = forecast.to_h { |k, v| [k, v.round] }end@rows.each do |row|