[Boost-bugs] [Boost C++ Libraries] #1882: Fix assertion in uniform_real

Subject: [Boost-bugs] [Boost C++ Libraries] #1882: Fix assertion in uniform_real
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-29 14:29:05


#1882: Fix assertion in uniform_real
-----------------------------------------------+----------------------------
 Reporter: Neal Becker <ndbecker2_at_[hidden]> | Type: Bugs
   Status: new | Milestone: Boost 1.36.0
Component: None | Version: Boost 1.35.0
 Severity: Problem | Keywords:
-----------------------------------------------+----------------------------
 Can we please change

    assert(min_arg < max_arg);

 to assert (min_arg <= max_arg)

 ? Otherwise, breaks on corner case.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1882>
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-02-16 18:49:57 UTC