From: cristy Date: Fri, 17 Aug 2012 23:33:36 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb90638c4d49d2ea370394e4f72726809207cd03;p=imagemagick --- diff --git a/MagickCore/colorspace.c b/MagickCore/colorspace.c index 756ed7bd6..84440a6ce 100644 --- a/MagickCore/colorspace.c +++ b/MagickCore/colorspace.c @@ -178,7 +178,7 @@ static inline void ConvertXYZToLuv(const double X,const double Y,const double Z, assert(u != (double *) NULL); assert(v != (double *) NULL); if ((Y/D50Y) > CIEEpsilon) - *L=(double) (116.0*pow(Y/D50Y,1/3.0)-16.0); + *L=(double) (116.0*pow(Y/D50Y,1.0/3.0)-16.0); else *L=CIEK*(Y/D50Y); alpha=MagickEpsilonReciprocal(X+15.0*Y+3.0*Z);