We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f71d7 commit ad50aeeCopy full SHA for ad50aee
1 file changed
stan/math/prim/fun/vector_seq_view.hpp
@@ -12,8 +12,9 @@ using is_matrix_or_std_vector
12
= math::disjunction<is_matrix<T>, is_std_vector<T>>;
13
14
template <typename T>
15
-using is_scalar_container = math::conjunction<is_matrix_or_std_vector<T>,
16
- is_stan_scalar<value_type_t<T>>>;
+using is_scalar_container = math::disjunction<
+ is_matrix<T>,
17
+ math::conjunction<is_std_vector<T>, is_stan_scalar<value_type_t<T>>>>;
18
}
19
20
/**
0 commit comments