"Michael Stevens" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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; }

And while we're at it, we shouldn't use leeding underscores on variables;
these are reserved to the compiler.

regards

Thorsten



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to