Boost logo

Boost Users :

Subject: Re: [Boost-users] [random] number generator as static class member
From: Moritz Beber (moritz.beber_at_[hidden])
Date: 2010-02-13 20:55:11


(I'm sorry for creating a new message in reply but I don't get my own
messages.)

The problem was of course the uniform_01 distribution which uses the
underlying generator by value rather than reference. I now tie in a
uniform_real in the same interval and it works just fine.

Enjoy the rest of the weekend,

Moritz


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net