Core: drop obsolete feature-detection guards

libeigen/eigen!2519
This commit is contained in:
Florian Maurin
2026-05-06 16:21:06 -07:00
committed by Rasmus Munk Larsen
parent 90dfbc054e
commit ff72fba837
10 changed files with 19 additions and 53 deletions
-17
View File
@@ -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);