Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Sep 9, 2023
1 parent 3cf6705 commit 43e4b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subcommand/extract_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace odgi {
return 1;
}

if ((!_max_dist_subpaths || args::get(_max_dist_subpaths) == 0) && _num_iterations) {
if ((_max_dist_subpaths && args::get(_max_dist_subpaths) == 0) && _num_iterations) {
std::cerr << "[odgi::extract] error: specified -e/--max-merging-iterations without specifying -d/--max-distance-subpaths greater than 0." << std::endl;
return 1;
}
Expand Down

0 comments on commit 43e4b79

Please sign in to comment.