Skip to content

Commit 1399ad8

Browse files
authored
Merge pull request #1127 from kenarab/patch-1
Update geometric.hpp
2 parents 28a5ffb + 1303786 commit 1399ad8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/boost/math/distributions/geometric.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ namespace boost
384384
inline RealType logcdf(const geometric_distribution<RealType, Policy>& dist, const RealType& k)
385385
{ // Cumulative Distribution Function of geometric.
386386
using std::pow;
387+
using std::log;
388+
using std::exp;
387389
static const char* function = "boost::math::logcdf(const geometric_distribution<%1%>&, %1%)";
388390

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

0 commit comments

Comments
 (0)