Boost logo

Boost Users :

From: Roman (Roman.Krylov_at_[hidden])
Date: 2005-02-21 08:07:57


Thanks.
I watched how histogram.cpp is written.
Perhaps, I should RTFM carefully before mailing.
The obstacle was: API had changed so that I have to use
    boost::variate_generator<rng[,&,*],distr>
to get working rng functor, and not to use some_distribution<> directly.
Though I have not read enough now why I have to do so.
    Roman.

>> I observe
>> boost::normal_distribution
>> always return "nan" with all RNGs
>> whereas other distributions behave normally.
>> I'm talking about boost 1.32 - in earlier version boost::random has
>> different interface.
>
>
> It's working OK in the test suite, do you have a test case?
>
> John.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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