#ifndef STAN_MATH_PRIM_PROB_BINOMIAL_CCDF_LOG_HPP
#define STAN_MATH_PRIM_PROB_BINOMIAL_CCDF_LOG_HPP

#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/prob/binomial_lccdf.hpp>

namespace stan {
namespace math {

/** \ingroup prob_dists
 * @deprecated use <code>binomial_lccdf</code>
 */
template <typename T_n, typename T_N, typename T_prob>
return_type_t<T_prob> binomial_ccdf_log(const T_n& n, const T_N& N,
                                        const T_prob& theta) {
  return binomial_lccdf<T_n, T_N, T_prob>(n, N, theta);
}

}  // namespace math
}  // namespace stan
#endif
