From 7bc8929bedfa2310d33912bb9ac3ed268bc6867c Mon Sep 17 00:00:00 2001 From: "Paul A. Bristow" Date: Tue, 20 Mar 2007 19:09:45 +0000 Subject: [PATCH] Message corrected [SVN r3805] --- include/boost/math/distributions/lognormal.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); }