Opened 5 years ago

#13269 new Bugs

Wrong docu for uniform_real-distribution

Reported by: Flamefire Owned by: No-Maintainer
Milestone: To Be Determined Component: random
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:

Description

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".

Change History (0)

Note: See TracTickets for help on using tickets.