Re: [Boost-bugs] [Boost C++ Libraries] #1270: uniform_smallint doesn't compile with lagged_fibonacci random number generators

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1270: uniform_smallint doesn't compile with lagged_fibonacci random number generators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-06 23:01:02


#1270: uniform_smallint doesn't compile with lagged_fibonacci random number
generators
------------------------------------------------------+---------------------
  Reporter: Tom Stepleton (last name at ri.cmu.edu) | Owner: no-maintainer
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: random
   Version: Boost 1.34.1 | Severity: Problem
Resolution: | Keywords: random uniform_smallint lagged fibonacci lagged_fibonacci compilation error
------------------------------------------------------+---------------------

Comment(by steven_watanabe):

 uniform_smallint requires the generator to return an integral type.
 lagged_fibonacci607 returns doubles.
 Use variate_generator.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1270#comment:2>
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:49:59 UTC