1#ifndef STAN_MATH_PRIM_ERR_IS_SIZE_MATCH_HPP
2#define STAN_MATH_PRIM_ERR_IS_SIZE_MATCH_HPP
16template <
typename T_size1,
typename T_size2>
18 return i ==
static_cast<T_size1
>(j);
bool is_size_match(T_size1 i, T_size2 j)
Return true if the provided sizes match.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...