Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85975 - trunk/boost/gil/extension/toolbox/color_spaces
From: chhenning_at_[hidden]
Date: 2013-09-27 21:06:43


Author: chhenning
Date: 2013-09-27 21:06:43 EDT (Fri, 27 Sep 2013)
New Revision: 85975
URL: http://svn.boost.org/trac/boost/changeset/85975

Log:
Small bugfix.

Text files modified:
   trunk/boost/gil/extension/toolbox/color_spaces/hsv.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/gil/extension/toolbox/color_spaces/hsv.hpp
==============================================================================
--- trunk/boost/gil/extension/toolbox/color_spaces/hsv.hpp Fri Sep 27 13:22:39 2013 (r85974)
+++ trunk/boost/gil/extension/toolbox/color_spaces/hsv.hpp 2013-09-27 21:06:43 EDT (Fri, 27 Sep 2013) (r85975)
@@ -88,7 +88,7 @@
       }
       else
       {
- if( (std::abs)( boost::numeric_cast<int>(temp_red - max_color) ) < 0.0001f )
+ if( (std::abs)( boost::numeric_cast<bits32f>(temp_red - max_color) ) < 0.0001f )
          {
             hue = ( temp_green - temp_blue )
                 / diff;


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