aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/packetmath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/packetmath.cpp')
-rw-r--r--test/packetmath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packetmath.cpp b/test/packetmath.cpp
index 72a9c8d51..dbc1d3f5a 100644
--- a/test/packetmath.cpp
+++ b/test/packetmath.cpp
@@ -702,7 +702,7 @@ void packetmath_real() {
// Note: 32-bit arm always flushes denorms to zero.
#if !EIGEN_ARCH_ARM
- if (std::numeric_limits<Scalar>::has_denorm == std::float_denorm_style::denorm_present) {
+ if (std::numeric_limits<Scalar>::has_denorm == std::denorm_present) {
data1[0] = std::numeric_limits<Scalar>::denorm_min();
data1[1] = -std::numeric_limits<Scalar>::denorm_min();
h.store(data2, internal::plog(h.load(data1)));