summaryrefslogtreecommitdiff
path: root/test/correctness
diff options
context:
space:
mode:
Diffstat (limited to 'test/correctness')
-rw-r--r--test/correctness/tester.cpp2
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