Skip to content

Commit

Permalink
close and refresh param fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarpomar committed Jul 10, 2020
1 parent 6d85a73 commit 67b0db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ void cli(CLI::App &app, std::string &name, std::string &version, std::string &fl
" 2*m), and updates the top-hits as joins proceed")->type_name("1.0")->
group(heuristics);

app.add_option("-close", options.tophitsMult, "modify the close heuristic, lower is more conservative")->
app.add_option("-close", options.tophitsClose, "modify the close heuristic, lower is more conservative")->
type_name("0.75")->check([&options](const std::string &in) {
if (options.tophitsMult <= 0) {
return "Cannot use -close unless -top is set above 0";
Expand All @@ -371,7 +371,7 @@ void cli(CLI::App &app, std::string &name, std::string &version, std::string &fl
return "";
})->group(heuristics);

app.add_option("-refresh", options.tophitsMult, "compare a joined node to all other nodes if its top-hit list is "
app.add_option("-refresh", options.tophitsRefresh, "compare a joined node to all other nodes if its top-hit list is "
"less than 80% of the desired length, or if the age of the top-hit"
" list is log2(m) or greater")->type_name("0.8")->
check([&options](const std::string &in) {
Expand Down

0 comments on commit 67b0db2

Please sign in to comment.