Skip to content

Commit

Permalink
TODO figure out why this cannot be constexpr on device...
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Mosimann committed Jul 1, 2019
1 parent bebc6e8 commit 4ed5af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gridtools/common/tuple_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ namespace gridtools {
template <template <class...> class L, class... Generators, class Res>
struct generate_f<L<Generators...>, Res> {
template <class... Args>
GT_TARGET GT_FORCE_INLINE GT_CONSTEXPR Res operator()(Args &&... args) const {
GT_TARGET GT_FORCE_INLINE Res operator()(Args &&... args) const {
return Res{Generators{}(wstd::forward<Args>(args)...)...};
}
};
Expand Down

0 comments on commit 4ed5af1

Please sign in to comment.