Boost C++ Libraries: Ticket #1247: Typos in "boost/random/additive_combine.hpp", lines 68-69 https://svn.boost.org/trac10/ticket/1247 <p> The following function from lines 65-70 of “boost/random/additive_combine.hpp” reads the following: </p> <p> … </p> <blockquote> <p> void seed(typename MLCG1::result_type seed1, </p> <blockquote> <p> typename MLCG2::result_type seed2) </p> </blockquote> <p> { </p> <blockquote> <p> _mlcg1(seed1); _mlcg2(seed2); </p> </blockquote> <p> } </p> </blockquote> <p> … </p> <p> Which is supposed to seed the RNG class with two values, one for each simpler RNG member class. This should become: </p> <p> … </p> <blockquote> <p> void seed(typename MLCG1::result_type seed1, </p> <blockquote> <p> typename MLCG2::result_type seed2) </p> </blockquote> <p> { </p> <blockquote> <p> _mlcg1.seed(seed1); _mlcg2.seed(seed2); </p> </blockquote> <p> } </p> </blockquote> <p> … </p> <p> By the way this is a great library! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1247 Trac 1.4.3 Noel Belcourt Sat, 26 Jan 2008 20:10:37 GMT <link>https://svn.boost.org/trac10/ticket/1247#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1247#comment:1</guid> <description> <p> This appears to be fixed in the trunk, is it okay to close this ticket? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Sat, 26 Jan 2008 20:29:28 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1247#comment:2 https://svn.boost.org/trac10/ticket/1247#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> In fact, this was fixed almost two years ago. Closing. </p> Ticket