Commit 35eb972e authored by Alexander Alekhin's avatar Alexander Alekhin

fix compilation on MSVS 2010

parent 72e095b8
...@@ -544,7 +544,7 @@ void cv::cornerHarris( InputArray _src, OutputArray _dst, int blockSize, int ksi ...@@ -544,7 +544,7 @@ void cv::cornerHarris( InputArray _src, OutputArray _dst, int blockSize, int ksi
scale *= 2.0; scale *= 2.0;
if (depth == CV_8U) if (depth == CV_8U)
scale *= 255.0; scale *= 255.0;
scale = std::pow(scale, -4.0f); scale = std::pow(scale, -4.0);
if (ippiHarrisCornerGetBufferSize(roisize, masksize, blockSize, datatype, cn, &bufsize) >= 0) if (ippiHarrisCornerGetBufferSize(roisize, masksize, blockSize, datatype, cn, &bufsize) >= 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment