From 9d3ffb3fbf7e6cfb5a4c73c7e28c5e76de645099 Mon Sep 17 00:00:00 2001 From: Rohit Santhanam Date: Sun, 28 Nov 2021 15:59:30 +0000 Subject: [PATCH] Fix for HIP compilation failure in DenseBase. --- Eigen/src/Core/DenseBase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/DenseBase.h b/Eigen/src/Core/DenseBase.h index 09a44f811..439322ddf 100644 --- a/Eigen/src/Core/DenseBase.h +++ b/Eigen/src/Core/DenseBase.h @@ -377,8 +377,8 @@ template class DenseBase EIGEN_DEVICE_FUNC bool isZero(const RealScalar& prec = NumTraits::dummy_precision()) const; EIGEN_DEVICE_FUNC bool isOnes(const RealScalar& prec = NumTraits::dummy_precision()) const; - inline bool hasNaN() const; - inline bool allFinite() const; + EIGEN_DEVICE_FUNC inline bool hasNaN() const; + EIGEN_DEVICE_FUNC inline bool allFinite() const; EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator*=(const Scalar& other);