Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 10:16:08


I propose following change in mersenne_twister.hpp to be able to
compile it with Solaris Forte C++ 6 u.1

Gennadiy.

cvs diff mersenne_twister.hpp
Index: mersenne_twister.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/random/mersenne_twister.hpp,v
retrieving revision 1.4
diff -r1.4 mersenne_twister.hpp
64c64
< explicit mersenne_twister(DataType value) { seed(value); }

---
>   explicit mersenne_twister(DataType value) { seed_value(value); }
68,69c68,69
<   void seed() { seed(DataType(4357)); }
<   void seed(DataType value) {
---
>   void seed() { seed_value(DataType(4357)); }
>   void seed_value(DataType value) {

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk