committed by
Rasmus Munk Larsen
parent
90dfbc054e
commit
ff72fba837
@@ -18,23 +18,6 @@ void check(bool b, bool ref) {
|
||||
std::cout << " BAD ";
|
||||
}
|
||||
|
||||
#if EIGEN_COMP_MSVC && EIGEN_COMP_MSVC < 1800
|
||||
namespace std {
|
||||
template <typename T>
|
||||
bool(isfinite)(T x) {
|
||||
return _finite(x);
|
||||
}
|
||||
template <typename T>
|
||||
bool(isnan)(T x) {
|
||||
return _isnan(x);
|
||||
}
|
||||
template <typename T>
|
||||
bool(isinf)(T x) {
|
||||
return _fpclass(x) == _FPCLASS_NINF || _fpclass(x) == _FPCLASS_PINF;
|
||||
}
|
||||
} // namespace std
|
||||
#endif
|
||||
|
||||
template <typename T>
|
||||
void check_inf_nan(bool dryrun) {
|
||||
Matrix<T, Dynamic, 1> m(10);
|
||||
|
||||
Reference in New Issue
Block a user