Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2002-09-09 16:55:50


Jens, I have patched boost::uniform_int to specialize
operator() for floating point based generators. Now it seems
to compile and work correctly. Shall I send a patch for this?

Matthias

On Monday, Sep 9, 2002, at 13:26 US/Pacific, Jens Maurer wrote:

> Matthias Troyer wrote:
>> boost::uniform_int and the other distributions in boost::random
>> seem to compile only for integer-valued generators, but not
>> for floating point generators. I believe we should provide
>> these distributions also for floating point generators.
>
> You're right.
>
> At least it fails to compile instead of failing silently
> at runtime. :-)
>
> Jens Maurer


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