Skip to content

Commit 4d7d6e1

Browse files
authored
Merge pull request #1295 from WarrenWeckesser/fix-logistic-logcdf-name
2 parents ad3eace + 505511f commit 4d7d6e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/math/distributions/logistic.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ namespace boost { namespace math {
159159
RealType scale = dist.scale();
160160
RealType location = dist.location();
161161
RealType result = 0; // of checks.
162-
constexpr auto function = "boost::math::cdf(const logistic_distribution<%1%>&, %1%)";
162+
constexpr auto function = "boost::math::logcdf(const logistic_distribution<%1%>&, %1%)";
163163
if(false == detail::check_scale(function, scale, &result, Policy()))
164164
{
165165
return result;
@@ -274,7 +274,7 @@ namespace boost { namespace math {
274274
RealType location = c.dist.location();
275275
RealType scale = c.dist.scale();
276276
RealType x = c.param;
277-
constexpr auto function = "boost::math::cdf(const complement(logistic_distribution<%1%>&), %1%)";
277+
constexpr auto function = "boost::math::logcdf(const complement(logistic_distribution<%1%>&), %1%)";
278278

279279
RealType result = 0;
280280
if(false == detail::check_scale(function, scale, &result, Policy()))

0 commit comments

Comments
 (0)