File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44#include < stan/math/prim/fun/Eigen.hpp>
55#include < stan/math/fwd/fun/sum.hpp>
6+ #include < stan/math/prim/functor/broadcast_array_fwd.hpp>
67#include < stan/math/prim/meta.hpp>
78
89namespace stan {
910namespace math {
1011namespace internal {
1112
12- template <typename T, typename Enable = void >
13- class broadcast_array ;
14-
1513template <typename T>
1614class broadcast_array <T, require_st_fvar<T>> {
1715 private:
Original file line number Diff line number Diff line change 11#ifndef STAN_MATH_PRIM_META_BROADCAST_ARRAY_HPP
22#define STAN_MATH_PRIM_META_BROADCAST_ARRAY_HPP
33
4+ #include < stan/math/prim/functor/broadcast_array_fwd.hpp>
45#include < stan/math/prim/meta/is_eigen.hpp>
56#include < stan/math/prim/meta/is_var_or_arithmetic.hpp>
67#include < stan/math/prim/meta/promote_scalar_type.hpp>
@@ -14,9 +15,6 @@ namespace stan {
1415namespace math {
1516namespace internal {
1617
17- template <typename T, typename Enable = void >
18- class broadcast_array ;
19-
2018template <typename T>
2119class broadcast_array <T, require_t <is_var_or_arithmetic<T>>> {
2220 private:
Original file line number Diff line number Diff line change 1+ #ifndef STAN_MATH_PRIM_META_BROADCAST_ARRAY_FWD_HPP
2+ #define STAN_MATH_PRIM_META_BROADCAST_ARRAY_FWD_HPP
3+
4+ namespace stan {
5+ namespace math {
6+ namespace internal {
7+
8+ template <typename T, typename Enable = void >
9+ class broadcast_array ;
10+
11+ } // namespace internal
12+ } // namespace math
13+ } // namespace stan
14+ #endif
You can’t perform that action at this time.
0 commit comments