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…
x
Reference in New Issue
Block a user