Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
69a93194
Commit
69a93194
authored
Mar 31, 2014
by
antirez
Browse files
hll-gnuplot-graph.rb: Use |error| when filter is :max
parent
a8fb1a32
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/hyperloglog/hll-gnuplot-graph.rb
View file @
69a93194
...
...
@@ -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
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment