Boost logo

Boost :

From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2003-02-03 14:03:59


There is a small correction required for lognormal_distribution.
The problem is flagged under GCC3.2

  explicit lognormal_distribution(base_type & rng,
                                  result_type mean = result_type(1),
                                  result_type sigma = result_type(1))
...
  RealType& mean() const { return _mean; }
  RealType& sigma() const { return _sigma; }

should probably read.

  RealType mean() const { return _mean; }
  RealType sigma() const { return _sigma; }

Michael


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