Commit 07295692 authored by Alexander Alekhin's avatar Alexander Alekhin

build: fix build error

parent 944d40a1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment