Boost logo

Boost :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2007-05-11 11:13:32


diff -r 5fcada374f41 boost/random/uniform_real.hpp
--- a/boost/random/uniform_real.hpp Thu May 10 08:59:36 2007 -0400
+++ b/boost/random/uniform_real.hpp Fri May 11 11:12:44 2007 -0400
@@ -40,7 +40,7 @@ public:
 #ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
     BOOST_STATIC_ASSERT(!std::numeric_limits<RealType>::is_integer);
 #endif
- assert(min_arg < max_arg);
+ assert(min_arg <= max_arg);
   }
 
   // compiler-generated copy ctor and assignment operator are fine


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk