Re: [Boost-bugs] [Boost C++ Libraries] #3516: lagged fibonacci cannot be seeded with a value 0 - fails with assertion error

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3516: lagged fibonacci cannot be seeded with a value 0 - fails with assertion error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-16 20:04:53


#3516: lagged fibonacci cannot be seeded with a value 0 - fails with assertion
error
------------------------------------------------------------+---------------
 Reporter: Paul H. Isaacson <paul.isaacson@…> | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: random
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: lagged fibonacci seed 0 |
------------------------------------------------------------+---------------

Comment(by steven_watanabe):

 I think that the correct way to fix this is to change the wrap-around
 algorithm in linear_congruential so that it can handle zero.

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