From fc5e0eb35bb5d3077de90923d484b8372c005ab4 Mon Sep 17 00:00:00 2001 From: Christian Henning Date: Sat, 28 Sep 2013 01:06:43 +0000 Subject: [PATCH] Small bugfix. [SVN r85975] --- include/boost/gil/extension/toolbox/color_spaces/hsv.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/gil/extension/toolbox/color_spaces/hsv.hpp b/include/boost/gil/extension/toolbox/color_spaces/hsv.hpp index 3a78ba09b..c13768d5e 100644 --- a/include/boost/gil/extension/toolbox/color_spaces/hsv.hpp +++ b/include/boost/gil/extension/toolbox/color_spaces/hsv.hpp @@ -88,7 +88,7 @@ struct default_color_converter_impl< rgb_t, hsv_t > } else { - if( (std::abs)( boost::numeric_cast(temp_red - max_color) ) < 0.0001f ) + if( (std::abs)( boost::numeric_cast(temp_red - max_color) ) < 0.0001f ) { hue = ( temp_green - temp_blue ) / diff;