Skip to content

Commit ad50aee

Browse files
committed
Fix typedef
1 parent 56f71d7 commit ad50aee

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

stan/math/prim/fun/vector_seq_view.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ using is_matrix_or_std_vector
1212
= math::disjunction<is_matrix<T>, is_std_vector<T>>;
1313

1414
template <typename T>
15-
using is_scalar_container = math::conjunction<is_matrix_or_std_vector<T>,
16-
is_stan_scalar<value_type_t<T>>>;
15+
using is_scalar_container = math::disjunction<
16+
is_matrix<T>,
17+
math::conjunction<is_std_vector<T>, is_stan_scalar<value_type_t<T>>>>;
1718
}
1819

1920
/**

0 commit comments

Comments
 (0)