fix compilation on MSVS 2010

This commit is contained in:
Alexander Alekhin 2014-05-06 13:43:47 +04:00
parent 72e095b8a5
commit 35eb972e9a

View File

@ -544,7 +544,7 @@ void cv::cornerHarris( InputArray _src, OutputArray _dst, int blockSize, int ksi
scale *= 2.0;
if (depth == CV_8U)
scale *= 255.0;
scale = std::pow(scale, -4.0f);
scale = std::pow(scale, -4.0);
if (ippiHarrisCornerGetBufferSize(roisize, masksize, blockSize, datatype, cn, &bufsize) >= 0)
{