Skip to content

Commit

Permalink
Fix #371: --cov-mode 5 was not working
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Nov 11, 2020
1 parent 8e8e9a0 commit cc47254
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commons/Util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,8 @@ int Util::swapCoverageMode(int covMode) {
return Parameters::COV_MODE_LENGTH_TARGET;
case Parameters::COV_MODE_LENGTH_TARGET:
return Parameters::COV_MODE_LENGTH_QUERY;
case Parameters::COV_MODE_LENGTH_SHORTER:
return Parameters::COV_MODE_LENGTH_SHORTER;
}
Debug(Debug::ERROR) << "Unknown coverage mode " << covMode << ".\n";
EXIT(EXIT_FAILURE);
Expand Down

0 comments on commit cc47254

Please sign in to comment.