Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55603 - sandbox/itl/boost/itl_xt
From: afojgo_at_[hidden]
Date: 2009-08-15 10:10:01


Author: jofaber
Date: 2009-08-15 10:10:00 EDT (Sat, 15 Aug 2009)
New Revision: 55603
URL: http://svn.boost.org/trac/boost/changeset/55603

Log:
Boostifying. Standardized for min/max guidelines in itl_xt. Stable {msvc-9.0}

Text files modified:
   sandbox/itl/boost/itl_xt/numbergentor.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/itl/boost/itl_xt/numbergentor.hpp
==============================================================================
--- sandbox/itl/boost/itl_xt/numbergentor.hpp (original)
+++ sandbox/itl/boost/itl_xt/numbergentor.hpp 2009-08-15 10:10:00 EDT (Sat, 15 Aug 2009)
@@ -202,7 +202,7 @@
 {
     _kumWeights[0] = WeightsT();
     for(int idx=1; idx < _size; idx++)
- _kumWeights[idx] = static_cast<WeightsT>(std::min(_kumWeights[idx-1]+_weights[idx-1], _maxWeights));
+ _kumWeights[idx] = static_cast<WeightsT>((std::min)(_kumWeights[idx-1]+_weights[idx-1], _maxWeights));
 
     _kumWeights[_size] = _maxWeights;
 }


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