From e8d5923d2761868b062f0769d6b672696bd7c97e Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Wed, 1 Mar 2017 20:42:06 +0100 Subject: Made a double to float cast explicit for MSVC compatibility (C2397) --- test/correctness/tester.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/correctness') 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() { // Error margin: numbers beyond this value are considered equal to inf or NaN template T getAlmostInfNumber() { - return T{1e35}; // used for correctness testing of TRSV and TRSM routines + return static_cast(1e35); // used for correctness testing of TRSV and TRSM routines } // Maximum number of test results printed on a single line -- cgit v1.2.3