Skip to content

Commit

Permalink
hll-gnuplot-graph.rb: Use |error| when filter is :max
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Mar 31, 2014
1 parent a8fb1a3 commit 69a9319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/hyperloglog/hll-gnuplot-graph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def filter_samples(numsets,filter)
dataset[i] = run_experiment(r,i,100000,1)
}
dataset[0].each_with_index{|ele,index|
ele[1] = ele[1].abs if filter == :max
card,err=ele
if filter == :max
(1...numsets).each{|i|
Expand Down

0 comments on commit 69a9319

Please sign in to comment.