mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
eliminate compiler exception
This commit is contained in:
@@ -1906,7 +1906,7 @@ MagickExport MagickBooleanType GetImageDistortion(Image *image,
|
||||
}
|
||||
}
|
||||
for (i=0; i < (ssize_t) GetPixelChannels(image); i++)
|
||||
channel_distortion[i]=MagickMin(MagickMax(channel_distortion[i],0.0),1.0);\
|
||||
channel_distortion[i]=MagickMin(MagickMax(channel_distortion[i],0.0),1.0);
|
||||
channel_distortion[CompositePixelChannel]=MagickMin(MagickMax(
|
||||
channel_distortion[CompositePixelChannel],0.0),1.0);
|
||||
*distortion=channel_distortion[CompositePixelChannel];
|
||||
|
||||
Reference in New Issue
Block a user