Skip to content

Commit

Permalink
Merge pull request #1127 from kenarab/patch-1
Browse files Browse the repository at this point in the history
Update geometric.hpp
  • Loading branch information
mborland authored Apr 30, 2024
2 parents 28a5ffb + 1303786 commit 1399ad8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/boost/math/distributions/geometric.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,8 @@ namespace boost
inline RealType logcdf(const geometric_distribution<RealType, Policy>& dist, const RealType& k)
{ // Cumulative Distribution Function of geometric.
using std::pow;
using std::log;
using std::exp;
static const char* function = "boost::math::logcdf(const geometric_distribution<%1%>&, %1%)";

// k argument may be integral, signed, or unsigned, or floating point.
Expand Down

0 comments on commit 1399ad8

Please sign in to comment.