diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-02-20 14:41:53 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-02-20 14:41:53 +0100 |
commit | 9f682aa66bf38828e915431fe61603f535c61363 (patch) | |
tree | 6089bffcb08a30b7635b3a72a565e15f569e4ce3 /src | |
parent | 6dc44da07bc0209a399a3e40300aa859e41034d9 (diff) |
Set a proper default precision for the CLBlast clients
Diffstat (limited to 'src')
-rw-r--r-- | src/utilities.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utilities.cc b/src/utilities.cc index 24efb14c..68a4f02a 100644 --- a/src/utilities.cc +++ b/src/utilities.cc @@ -161,9 +161,9 @@ template Precision GetArgument<Precision>(const int, char **, std::string&, cons // ================================================================================================= // Returns only the precision argument -Precision GetPrecision(const int argc, char *argv[]) { +Precision GetPrecision(const int argc, char *argv[], const Precision default_precision) { auto dummy = std::string{}; - return GetArgument(argc, argv, dummy, kArgPrecision, Precision::kSingle); + return GetArgument(argc, argv, dummy, kArgPrecision, default_precision); } // ================================================================================================= |