Boost C++ Libraries: Ticket #387: MT seed algorithm needs fix applied https://svn.boost.org/trac10/ticket/387 <pre class="wiki">The version of Mersenne twister in Boost 1.32 is a reimplementation of the original MT code. That version turned out to have a bug in its seeding algorithm. A description of the bug as well as fixed c implementations can be found at: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html See also: http://lists.boost.org/MailArchives/boost/msg78304.php for a proposed fix to boost::random. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/387 Trac 1.4.3 jmaurer Mon, 11 Apr 2005 09:22:13 GMT <link>https://svn.boost.org/trac10/ticket/387#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/387#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=53943 Thank you for the information. As has been pointed out in the e-mail thread linked to above, the boost.random library is now actually part of the C++ library TR, and changing the default constructor or zero-argument seed function is no longer feasible: People expect source-code compatibility. The proper way is to add an additional, overloaded seed() function that has the new semantics. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>oblomovska</dc:creator> <pubDate>Mon, 11 Apr 2005 10:29:10 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/387#comment:2 https://svn.boost.org/trac10/ticket/387#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=1243837 Thanks for the information. We have already done as you suggested, I was hoping we could delete that code from our systems with the next boost release. I am completely unaware of what the C++ library TR is, and this is probably the wrong platform for a discussion, but FYI: we use random numbers for Monte Carlo simulations, and for us, the bug a quite a serious one. I think a warning in the documentation would be appropriate. boost.random is great work, by the way. Thanks! </pre> Ticket jmaurer Mon, 11 Apr 2005 12:17:32 GMT <link>https://svn.boost.org/trac10/ticket/387#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/387#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=53943 The C++ library TR is a technical report that the C++ standardization committee is currently working on. I understand the seriousness of the issue, and I will provide wording to the standardization committee to fix the issue. </pre> </description> <category>Ticket</category> </item> </channel> </rss>