Re: [Boost-bugs] [Boost C++ Libraries] #3451: Poisson generator not mentioned in documentation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3451: Poisson generator not mentioned in documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-18 17:21:43


#3451: Poisson generator not mentioned in documentation
----------------------------------+-----------------------------------------
 Reporter: mazzucco@… | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: random
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------

Comment(by ts337@…):

 As far as I can tell,
 the following lines of code should work, but don't:

     boost::mt19937 rng(3u);
     boost::poisson_distribution<> po_dist(0.7);
     cout <<"Po var: " << po_dist(rng)<<endl;

 As far as I can tell, poisson_distribution::operator()(Engine& eng)
 results in an infinite loop.

 So should probably be fixed before documenting?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3451#comment:1>
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:01 UTC