1 #ifndef STAN__MATH__ERROR_HANDLING_CHECK_POSITIVE_FINITE_HPP
2 #define STAN__MATH__ERROR_HANDLING_CHECK_POSITIVE_FINITE_HPP
11 template <
typename T_y,
typename T_result>
bool check_positive_finite(const char *function, const T_y &y, const char *name, T_result *result)
bool check_finite(const char *function, const T_y &y, const char *name, T_result *result)
Checks if the variable y is finite.
bool check_positive(const char *function, const T_y &y, const char *name, T_result *result)