Skip to content

Commit

Permalink
adding back in a require trait that is used by Stan
Browse files Browse the repository at this point in the history
  • Loading branch information
syclik committed Dec 15, 2023
1 parent 63baa5f commit 032b135
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stan/math/prim/meta/is_kernel_expression.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ using require_kernel_expression_lhs_t

// STAN_ADD_REQUIRE_UNARY(rev_kernel_expression, is_rev_kernel_expression,
// opencl_kernel_generator);
template <typename T>
using require_rev_kernel_expression_t
= require_t<is_rev_kernel_expression<std::decay_t<T>>>;

// STAN_ADD_REQUIRE_UNARY(prim_or_rev_kernel_expression,
// is_prim_or_rev_kernel_expression, opencl_kernel_generator);
template <typename... Types>
Expand Down

0 comments on commit 032b135

Please sign in to comment.