Skip to content

Commit

Permalink
Fixed capitolization of constant. #370
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmclean committed Jul 17, 2023
1 parent 5d823f8 commit 230b350
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/search_disk_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ int main(int argc, char **argv)
program_options_utils::LABEL_TYPE_DESCRIPTION);
optional_configs.add_options()("fail_if_recall_below",
po::value<float>(&fail_if_recall_below)->default_value(0.0f),
program_options_utils::FAIl_IF_RECALL_BELOW);
program_options_utils::FAIL_IF_RECALL_BELOW);

// Merge required and optional parameters
desc.add(required_configs).add(optional_configs);
Expand Down
2 changes: 1 addition & 1 deletion apps/search_memory_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ int main(int argc, char **argv)
"Whether to search with external identifiers (tags). Default false.");
optional_configs.add_options()("fail_if_recall_below",
po::value<float>(&fail_if_recall_below)->default_value(0.0f),
program_options_utils::FAIl_IF_RECALL_BELOW);
program_options_utils::FAIL_IF_RECALL_BELOW);

// Output controls
po::options_description output_controls("Output controls");
Expand Down
2 changes: 1 addition & 1 deletion include/program_options_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const char *GROUND_TRUTH_FILE_DESCRIPTION =
// this file
const char *NUMBER_THREADS_DESCRIPTION = "Number of threads used for building index. Defaults to number of logical "
"processor cores on your this machine returned by omp_get_num_procs()";
const char *FAIl_IF_RECALL_BELOW = "If set to a value >0 and <100%, program returns -1 if best recall found is below "
const char *FAIL_IF_RECALL_BELOW = "If set to a value >0 and <100%, program returns -1 if best recall found is below "
"this threshold. "; // does it continue running or die immediately? Will I still get
// my results even if the return code is -1?
const char *NUMBER_OF_NODES_TO_CACHE = "Number of BFS nodes around medoid(s) to cache. Default value: 0";
Expand Down

0 comments on commit 230b350

Please sign in to comment.