[boost] Bug in random/uniform_real.hpp

2003-07-26 Thread Michael Stevens
Dear Boosters, dear Jens, After some debugging I realized another bug in the new version of the Boost random number library. uniform_real has the following operator(): result_type operator()(Engine& eng) { return eng() * (_max - _min) + _min; } This does not work if the underlying engine doe

[boost] Bug in random/uniform_real.hpp

2003-07-26 Thread Matthias Troyer
Dear Boosters, dear Jens, After some debugging I realized another bug in the new version of the Boost random number library. uniform_real has the following operator(): result_type operator()(Engine& eng) { return eng() * (_max - _min) + _min; } This does not work if the underlying engine doe