Ticket #7774: warning_geometric_distribution.patch
File warning_geometric_distribution.patch, 528 bytes (added by , 10 years ago) |
---|
-
geometric_distribution.hpp
104 104 * 105 105 * Requires: 0 < p < 1 106 106 */ 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) 109 109 { 110 110 BOOST_ASSERT(RealType(0) < _p && _p < RealType(1)); 111 111 init();