Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2003-07-25 07:51:53


Dear Jens, dear Boosters,

Some of the new distributions in the Boost random library no longer
work with floating point based generators. Could Jens or somebody fix
that? I myself am reluctant to provide a fix.

Here is a test program that fails to compile now:

#include <boost/random.hpp>

int main()
{
   boost::lagged_fibonacci607 rng;
   boost::uniform_int<> int_rng(0,3);
   int x = int_rng(rng);
}

Best regards,

Matthias


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