build: fix build error

pull/956/head
Alexander Alekhin 8 years ago
parent 944d40a1b5
commit 072956924b
  1. 2
      modules/xfeatures2d/src/affine_feature2d.cpp

@ -211,7 +211,7 @@ bool calcAffineAdaptation(const Mat & fimage, Elliptic_KeyPoint & keypoint)
float ratio = 1 - q;
//if ratio == 1 means q == 0 and one axes equals to 0
if (!isnan(ratio) && ratio != 1)
if (!cvIsNaN(ratio) && ratio != 1)
{
//Update U matrix
U = U * Mk;

Loading…
Cancel
Save