Ticket #7774: warning_geometric_distribution.patch

File warning_geometric_distribution.patch, 528 bytes (added by markus.mohrhard@…, 10 years ago)

patch for the warning

  • geometric_distribution.hpp

     
    104104     *
    105105     * Requires: 0 < p < 1
    106106     */
    107     explicit geometric_distribution(const RealType& p = RealType(0.5))
    108       : _p(p)
     107    explicit geometric_distribution(const RealType& p_arg = RealType(0.5))
     108      : _p(p_arg)
    109109    {
    110110        BOOST_ASSERT(RealType(0) < _p && _p < RealType(1));
    111111        init();