diff options
Diffstat (limited to 'include/internal/utilities.h')
-rw-r--r-- | include/internal/utilities.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/utilities.h b/include/internal/utilities.h index ed17271f..b6307a85 100644 --- a/include/internal/utilities.h +++ b/include/internal/utilities.h @@ -171,7 +171,8 @@ T GetArgument(const int argc, char *argv[], std::string &help, const std::string &option, const T default_value); // Returns the precision only -Precision GetPrecision(const int argc, char *argv[]); +Precision GetPrecision(const int argc, char *argv[], + const Precision default_precision = Precision::kSingle); // As in "GetArgument", but now only checks whether an argument is given or not bool CheckArgument(const int argc, char *argv[], std::string &help, const std::string &option); |