diff --git a/stan/math/prim/meta/is_arena_matrix.hpp b/stan/math/prim/meta/is_arena_matrix.hpp index 00e71b6abe4..9e9503ba0e5 100644 --- a/stan/math/prim/meta/is_arena_matrix.hpp +++ b/stan/math/prim/meta/is_arena_matrix.hpp @@ -31,7 +31,7 @@ using require_arena_matrix_t = require_t>>; /*! \brief Require type does not satisfy @ref is_arena_matrix */ /*! @tparam T the type to check */ template -using require_not_arena_matrix_t = require_t>>; +using require_not_arena_matrix_t = require_t>::value>>; /*! @} */