提交 69a93194 编写于 作者: A antirez

hll-gnuplot-graph.rb: Use |error| when filter is :max

上级 a8fb1a32
......@@ -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|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册