mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix GPU builds.
This commit is contained in:
@@ -69,7 +69,7 @@ static constexpr auto lastp1 = last + fix<1>;
|
|||||||
#else
|
#else
|
||||||
// Using a FixedExpr<1> expression is important here to make sure the compiler
|
// Using a FixedExpr<1> expression is important here to make sure the compiler
|
||||||
// can fully optimize the computation starting indices with zero overhead.
|
// can fully optimize the computation starting indices with zero overhead.
|
||||||
static constexpr lastp1_t lastp1;
|
static constexpr lastp1_t lastp1 = lastp1_t{};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \var end
|
/** \var end
|
||||||
|
|||||||
Reference in New Issue
Block a user