From 7fd305ecae2410714cde018cb6851f49138568c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20S=C3=A1nchez?= Date: Fri, 1 Nov 2024 04:50:03 +0000 Subject: [PATCH] Fix GPU builds. --- Eigen/src/Core/util/IndexedViewHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/IndexedViewHelper.h b/Eigen/src/Core/util/IndexedViewHelper.h index fd8215e66..abf4b1950 100644 --- a/Eigen/src/Core/util/IndexedViewHelper.h +++ b/Eigen/src/Core/util/IndexedViewHelper.h @@ -69,7 +69,7 @@ static constexpr auto lastp1 = last + fix<1>; #else // Using a FixedExpr<1> expression is important here to make sure the compiler // can fully optimize the computation starting indices with zero overhead. -static constexpr lastp1_t lastp1; +static constexpr lastp1_t lastp1 = lastp1_t{}; #endif /** \var end