Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57717 - trunk/boost/random
From: steven_at_[hidden]
Date: 2009-11-16 18:38:21


Author: steven_watanabe
Date: 2009-11-16 18:38:21 EST (Mon, 16 Nov 2009)
New Revision: 57717
URL: http://svn.boost.org/trac/boost/changeset/57717

Log:
Fix min/max problems
Text files modified:
   trunk/boost/random/linear_congruential.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/random/linear_congruential.hpp
==============================================================================
--- trunk/boost/random/linear_congruential.hpp (original)
+++ trunk/boost/random/linear_congruential.hpp 2009-11-16 18:38:21 EST (Mon, 16 Nov 2009)
@@ -86,8 +86,8 @@
     if(increment == 0 && _x == 0) {
       _x = 1;
     }
- assert(_x >= min());
- assert(_x <= max());
+ assert(_x >= (min)());
+ assert(_x <= (max)());
   }
 
   template<class It>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk