Ticket #960: reg.cpp

File reg.cpp, 280 bytes (added by tim@…, 15 years ago)

code triggering the problem

Line 
1#include <boost/random.hpp>
2
3int main()
4{
5 boost::rand48 generator;
6 boost::lognormal_distribution<> dist;
7 boost::variate_generator<boost::rand48, boost::lognormal_distribution<> > rng(generator, dist);
8
9 double mean = dist.mean();
10 double sigma = dist.sigma();
11}