Fix GPU builds.

This commit is contained in:
Antonio Sánchez
2024-11-01 04:50:03 +00:00
parent c8267654f2
commit 7fd305ecae

View File

@@ -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