]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 17 Aug 2012 23:33:36 +0000 (23:33 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 17 Aug 2012 23:33:36 +0000 (23:33 +0000)
MagickCore/colorspace.c

index 756ed7bd6c452792bdaa3af96d998fb55db385a8..84440a6ce9e1bd36112d16bb916fe443cdb38b93 100644 (file)
@@ -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);