Skip to content

Commit

Permalink
bool toggle parameters were broken
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Sep 4, 2018
1 parent 3c3dc6e commit 9375baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commons/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -960,9 +960,9 @@ void Parameters::parseParameters(int argc, const char* pargv[],
*value = !*value;
} else {
*value = parseBool(pargv[argIdx+1]);
argIdx++;
}
par[parIdx].wasSet = true;
argIdx++;
} else {
Debug(Debug::ERROR) << "Wrong parameter type in parseParameters. Please inform the developers\n";
EXIT(EXIT_FAILURE);
Expand Down

0 comments on commit 9375baf

Please sign in to comment.