Fix GPU builds.
diff --git a/Eigen/src/Core/util/IndexedViewHelper.h b/Eigen/src/Core/util/IndexedViewHelper.h index fd8215e..abf4b19 100644 --- a/Eigen/src/Core/util/IndexedViewHelper.h +++ b/Eigen/src/Core/util/IndexedViewHelper.h
@@ -69,7 +69,7 @@ #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