Update of /cvsroot/boost/boost/boost/random
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18886
Modified Files:
additive_combine.hpp
Log Message:
fix sourceforge bug #1524016: bad seed() implementation
Index: additive_combine.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/random/additive_combine.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- additive_combine.hpp 21 May 2005 15:57:00 -0000 1.11
+++ additive_combine.hpp 19 Jul 2006 21:51:23 -0000 1.12
@@ -65,8 +65,8 @@
void seed(typename MLCG1::result_type seed1,
typename MLCG2::result_type seed2)
{
- _mlcg1(seed1);
- _mlcg2(seed2);
+ _mlcg1.seed(seed1);
+ _mlcg2.seed(seed2);
}
template<class It> void seed(It& first, It last)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs