Skip to content

Commit

Permalink
parameter is double, cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Nov 10, 2022
1 parent e527643 commit 26e636d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MagickCore/feature.c
Expand Up @@ -2290,7 +2290,7 @@ MagickExport Image *MeanShiftImage(const Image *image,const size_t width,
}
}
}
gamma=PerceptibleReciprocal(count);
gamma=PerceptibleReciprocal((double) count);
mean_location.x=gamma*sum_location.x;
mean_location.y=gamma*sum_location.y;
mean_pixel.red=gamma*sum_pixel.red;
Expand Down

0 comments on commit 26e636d

Please sign in to comment.