From e6cef7a2b7aba8aab1de8166674063e9c2ee8368 Mon Sep 17 00:00:00 2001 From: Ali Can Demiralp Date: Thu, 7 Jan 2021 09:17:40 +0100 Subject: [PATCH] Added more missing EIGEN_DEVICE_FUNC qualifiers --- Eigen/src/Core/BooleanRedux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/BooleanRedux.h b/Eigen/src/Core/BooleanRedux.h index ccf519067c6..f6fa2733912 100644 --- a/Eigen/src/Core/BooleanRedux.h +++ b/Eigen/src/Core/BooleanRedux.h @@ -134,7 +134,7 @@ EIGEN_DEVICE_FUNC inline Eigen::Index DenseBase::count() const * \sa allFinite() */ template -inline bool DenseBase::hasNaN() const +EIGEN_DEVICE_FUNC inline bool DenseBase::hasNaN() const { #if EIGEN_COMP_MSVC || (defined __FAST_MATH__) return derived().array().isNaN().any(); @@ -148,7 +148,7 @@ inline bool DenseBase::hasNaN() const * \sa hasNaN() */ template -inline bool DenseBase::allFinite() const +EIGEN_DEVICE_FUNC inline bool DenseBase::allFinite() const { #if EIGEN_COMP_MSVC || (defined __FAST_MATH__) return derived().array().isFinite().all();