mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-07-16 19:33:00 +02:00
Made a double to float cast explicit for MSVC compatibility (C2397)
This commit is contained in:
parent
d6f1b5fca3
commit
e8d5923d27
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue