1 #ifndef STAN_MATH_PRIM_SCAL_FUN_PROMOTE_ELEMENTS_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_PROMOTE_ELEMENTS_HPP 16 template <
typename T,
typename S>
24 inline static T
promote(
const S& u) {
return u; }
42 inline static const T&
promote(
const T& u) {
return u; }