mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
fixed compile error on Windows
This commit is contained in:
parent
54a202b3d5
commit
53fdae93bd
@ -131,7 +131,7 @@ static bool readOpticalFlowFromFile(FILE* file, Mat& flow) {
|
||||
}
|
||||
|
||||
static bool isFlowCorrect(float u) {
|
||||
return !isnan(u) && (fabs(u) < 1e9);
|
||||
return !cvIsNaN(u) && (fabs(u) < 1e9);
|
||||
}
|
||||
|
||||
static float calc_rmse(Mat flow1, Mat flow2) {
|
||||
|
Loading…
Reference in New Issue
Block a user