Commit 849115ba authored by Paul Asmuth's avatar Paul Asmuth
Browse files

whoopsiedaisy

parent 9e9ca3a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ class FnordMetric::Histogram < Hash
    histogram(windows).to_a.sort do |a, b|
      a[0].first <=> b[0].first
    end.map do |r, v|
      [r.size == 1.0 ? r.first.to_s :
      [r.size == 1.0 ? r.last.to_s :
        "#{r.first.round(1).to_s}-#{r.last.round(1).to_s}", v.to_i]
    end.to_json
  end