mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-23 06:43:13 +08:00
Add numext::isnan for AnnoyingOrange^H^H^H^H^H^HScalar.
This commit is contained in:
parent
79de101d23
commit
8fe6190001
@ -140,6 +140,11 @@ EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
|
||||
bool (isfinite)(const AnnoyingScalar& x) {
|
||||
return (numext::isfinite)(*x.v);
|
||||
}
|
||||
template<>
|
||||
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
|
||||
bool (isnan)(const AnnoyingScalar& x) {
|
||||
return (numext::isnan)(*x.v);
|
||||
}
|
||||
}
|
||||
|
||||
namespace internal {
|
||||
|
Loading…
x
Reference in New Issue
Block a user