fixed compile error under win32

This commit is contained in:
Maria Dimashova 2010-11-25 09:22:22 +00:00
parent 7c77787c84
commit c46546203f

View File

@ -1804,7 +1804,7 @@ struct CV_EXPORTS L2
ResultType diff = a[i] - b[i];
result += diff*diff;
}
return sqrt(result);
return (ResultType)sqrt((double)result);
}
};