Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-06-14 07:52:54


Bugs item #1220358, was opened at 2005-06-14 05:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1220358&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: random
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Jens Maurer (jmaurer)
Summary: binomial_distribution.hpp

Initial Comment:
binomial_distribution gives wrong results, because ctor
only default initializes private member _bernoulli,
therefore probability is always p=0.5 (the default of
bernoulli_distribution).

Solution: put _bernoulli(p) into the initializes list
of binomial_distribution ctor.

Bernd Burghardt:

burghard_at_[hidden]

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1220358&group_id=7586

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


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