diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/correctness/tester.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/correctness/tester.cpp b/test/correctness/tester.cpp index 6cafd7bc..046473f8 100644 --- a/test/correctness/tester.cpp +++ b/test/correctness/tester.cpp @@ -67,7 +67,7 @@ double getL2ErrorMargin<half>() { // Error margin: numbers beyond this value are considered equal to inf or NaN template <typename T> T getAlmostInfNumber() { - return T{1e35}; // used for correctness testing of TRSV and TRSM routines + return static_cast<T>(1e35); // used for correctness testing of TRSV and TRSM routines } // Maximum number of test results printed on a single line |