Re: [Boost-bugs] [Boost C++ Libraries] #9126: Logistic distribution pdf() and cdf(complement()) fail to catch invalid scale and location parameters

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9126: Logistic distribution pdf() and cdf(complement()) fail to catch invalid scale and location parameters
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-20 09:47:34


#9126: Logistic distribution pdf() and cdf(complement()) fail to catch invalid
scale and location parameters
---------------------------------------+----------------------
  Reporter: Paul McClellan <paulm@…> | Owner: pbristow
      Type: Bugs | Status: assigned
 Milestone: Boost 1.55.0 | Component: math
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+----------------------

Comment (by pbristow):

 Fixed in boost trunk at
 https://svn.boost.org/svn/boost/trunk/boost/math/distributions/logistic.hpp

 (you could download this version).

 SVN commit 87950

 but I am still puzzled why the checks in the distribution object
 constructor didn't catch these tests.

 Did you change the default policy (from 'to throw exception') to ignore
 errors?

 Did you use try'n'catch blocks so that the error messages appear? (as
 always recommended).

 Did you get the same in debug and release (optimised) version?

 Should make boost release 1.55.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9126#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC