Boost C++ Libraries: Ticket #9200: behavior of boost::geometric_distribution is different from its description in doc. https://svn.boost.org/trac10/ticket/9200 <p> The parameter of the constructor p is the failure fraction, and zero is NOT included in the set of trials. These are opposite the description in the documentation at <a href="http://www.boost.org/doc/libs/1_54_0/libs/math/doc/html/math_toolkit/dist_ref/dists/geometric_dist.html">http://www.boost.org/doc/libs/1_54_0/libs/math/doc/html/math_toolkit/dist_ref/dists/geometric_dist.html</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9200 Trac 1.4.3 Steven Watanabe Mon, 10 Mar 2014 23:58:55 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9200#comment:1 https://svn.boost.org/trac10/ticket/9200#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> As far as I can tell, the description is accurate, both for Boost.Math and Boost.Random. </p> Ticket