Subject: [Boost-bugs] [Boost C++ Libraries] #13269: Wrong docu for uniform_real-distribution
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-10-22 19:47:20
#13269: Wrong docu for uniform_real-distribution
------------------------------+---------------------------
Reporter: Flamefire | Owner: No-Maintainer
Type: Bugs | Status: new
Milestone: To Be Determined | Component: random
Version: Boost 1.63.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------
The documentation for the params of uniform real distribution states "min
<= max" as the requirement:
https://github.com/boostorg/random/blob/b58774fd5449609ede3ff80d4b82574c8e9094c6/include/boost/random/uniform_real_distribution.hpp#L99
This should be "min < max".
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13269> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-10-22 19:53:48 UTC