id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5767,A bug in seeding with sequence in Mersenne Twister,Synge Todo ,Steven Watanabe,"There is a bug in boost/random/mersenne_twister.hpp: {{{ 176 // fix up the state if it's all zeroes. 177 if((x[0] & (~static_cast(0) << r)) == 0) { 178 for(std::size_t j = 1; i < n; ++j) { 179 if(x[j] != 0) return; 180 } }}} Since there is a typo in line 178 (""i < n"" should be ""j < n""), x[0] will always be reset to some constant (static_cast(1) << (w-1)). ",Bugs,closed,To Be Determined,random,Boost 1.47.0,Regression,fixed,,