From bcc7f0ef689884487bc594d9b744159f834b2660 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Sat, 2 Dec 2023 21:26:22 -0500 Subject: [PATCH] adding back in some requires traits --- stan/math/prim/meta/is_complex.hpp | 3 +++ stan/math/prim/meta/is_eigen_dense_dynamic.hpp | 4 ++++ stan/math/prim/meta/is_var_dense_dynamic.hpp | 4 ++++ stan/math/prim/meta/is_var_matrix.hpp | 4 ++++ stan/math/prim/meta/is_vector.hpp | 3 +++ 5 files changed, 18 insertions(+) diff --git a/stan/math/prim/meta/is_complex.hpp b/stan/math/prim/meta/is_complex.hpp index 07268469496..e81a587ed38 100644 --- a/stan/math/prim/meta/is_complex.hpp +++ b/stan/math/prim/meta/is_complex.hpp @@ -74,6 +74,9 @@ using require_all_not_complex_t // STAN_ADD_REQUIRE_UNARY_INNER(complex, is_complex, // require_stan_scalar_complex); +template +using require_vt_complex = require_t>>>; + template using require_not_vt_complex = require_not_t>>>; diff --git a/stan/math/prim/meta/is_eigen_dense_dynamic.hpp b/stan/math/prim/meta/is_eigen_dense_dynamic.hpp index 87505db8642..9bf2d538572 100644 --- a/stan/math/prim/meta/is_eigen_dense_dynamic.hpp +++ b/stan/math/prim/meta/is_eigen_dense_dynamic.hpp @@ -28,6 +28,10 @@ template using require_eigen_dense_dynamic_t = require_t>>; +template +using require_all_eigen_dense_dynamic_t + = require_all_t>...>; + // STAN_ADD_REQUIRE_CONTAINER(eigen_dense_dynamic, is_eigen_dense_dynamic, // require_eigens_types); template