Opened 14 years ago

Closed 14 years ago

#1882 closed Bugs (fixed)

Fix assertion in uniform_real

Reported by: Neal Becker <ndbecker2@…> Owned by:
Milestone: Boost 1.36.0 Component: random
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

Can we please change

assert(min_arg < max_arg);

to assert (min_arg <= max_arg)

? Otherwise, breaks on corner case.

Change History (1)

comment:1 by Marshall Clow, 14 years ago

Component: Nonerandom
Resolution: fixed
Status: newclosed

Fixed in revision #44897

Note: See TracTickets for help on using tickets.