Commit c4654620 authored by Maria Dimashova's avatar Maria Dimashova

fixed compile error under win32

parent 7c77787c
...@@ -1804,7 +1804,7 @@ struct CV_EXPORTS L2 ...@@ -1804,7 +1804,7 @@ struct CV_EXPORTS L2
ResultType diff = a[i] - b[i]; ResultType diff = a[i] - b[i];
result += diff*diff; result += diff*diff;
} }
return sqrt(result); return (ResultType)sqrt((double)result);
} }
}; };
......
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