Skip to content

Commit

Permalink
adding back in require_any_not_var_t
Browse files Browse the repository at this point in the history
  • Loading branch information
syclik committed Nov 28, 2023
1 parent 78dcc46 commit 2706e23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stan/math/prim/meta/is_var.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ using require_any_var_t = require_any_t<is_var<std::decay_t<Types>>...>;
template <typename... Types>
using require_all_not_var_t = require_all_not_t<is_var<std::decay_t<Types>>...>;

template <typename... Types>
using require_any_not_var_t
= require_any_not_t<is_var<std::decay_t<Types>>...>;

// STAN_ADD_REQUIRE_CONTAINER(var, is_var, require_stan_scalar_real);
template <template <class...> class TypeCheck, class... Check>
using require_var_vt = require_t<
Expand Down

0 comments on commit 2706e23

Please sign in to comment.