fixed compile error under win32
This commit is contained in:
parent
7c77787c84
commit
c46546203f
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user