diff --git a/include/boost/math/distributions/lognormal.hpp b/include/boost/math/distributions/lognormal.hpp index d69e6b6d7..fc6923d6f 100644 --- a/include/boost/math/distributions/lognormal.hpp +++ b/include/boost/math/distributions/lognormal.hpp @@ -31,7 +31,7 @@ namespace detail { *result = tools::domain_error( function, - "Random variate is %1% but must be > 0 !", x); + "Random variate is %1% but must be >= 0 !", x); return false; } return true; @@ -74,7 +74,7 @@ typedef lognormal_distribution lognormal; template const std::pair range(const lognormal_distribution& /*dist*/) -{ // Range of permissible values for random variable x. +{ // Range of permissible values for random variable x is >0 to +infinity. using boost::math::tools::max_value; return std::pair(0, max_value()); }