[Boost-bugs] [Boost C++ Libraries] #2667: linear_congruential operator>>()

Subject: [Boost-bugs] [Boost C++ Libraries] #2667: linear_congruential operator>>()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-20 09:35:16


#2667: linear_congruential operator>>()
------------------------------+---------------------------------------------
 Reporter: rick68_at_[hidden] | Owner: no-maintainer
     Type: Patches | Status: new
Milestone: Boost 1.38.0 | Component: random
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Hi,

 In <boost/random/linear_congruential.hpp>

 line122: template<class CharT, class Traits>
 line123: friend std::basic_istream<CharT,Traits>&
 line124: operator>>(std::basic_istream<CharT,Traits>& is,
 line125: linear_congruential& lcg)
 line126: {
 line127: return is >> lcg._x;
 line128: }

 Input to lcg._x dose not mod with linear_congruential::modulus.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2667>
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