From: cristy Date: Fri, 3 May 2013 23:09:34 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3742 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d58c684a41e250c24c3ae64454449bd2fb18fbb;p=imagemagick --- diff --git a/MagickCore/gem.c b/MagickCore/gem.c index 35470123f..ee3375855 100644 --- a/MagickCore/gem.c +++ b/MagickCore/gem.c @@ -1360,8 +1360,6 @@ MagickPrivate void ConvertRGBToLCHab(const double red,const double green, H=180.0*atan2(255.0*(b-0.5)/200.0,255.0*(a-0.5)/500.0)/MagickPI/360.0; if (H < 0.0) H+=1.0; - if (H >= 1.0) - H-=1.0; *luma=(100.0*L+16.0)/116.0; *chroma=C; *hue=H;