mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-28 23:04:18 +08:00
Fix missing EIGEN_CONSTEXPR
pop_macro in Half
.
`EIGEN_CONSTEXPR` is getting pushed but not popped in `Half.h` if `EIGEN_HAS_ARM64_FP16_SCALAR_ARITHMETIC` is defined.
This commit is contained in:
parent
394f564055
commit
117a4c0617
@ -774,7 +774,7 @@ template<> struct NumTraits<Eigen::half>
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#if defined(EIGEN_HAS_GPU_FP16)
|
||||
#if defined(EIGEN_HAS_GPU_FP16) || defined(EIGEN_HAS_ARM64_FP16_SCALAR_ARITHMETIC)
|
||||
#pragma pop_macro("EIGEN_CONSTEXPR")
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user