Commit 2203743c authored by Alexander Alekhin's avatar Alexander Alekhin

aruco: fix debug build

parent 645ca12d
......@@ -935,8 +935,8 @@ int fit_quad(const Ptr<DetectorParameters> &_params, const Mat im, zarray_t *clu
double x = lines[i1][0] - L1*A01;
double y = lines[i1][1] - L1*A11;
CV_Assert(fabs(x - quad->p[i][0]) < 0.001,
fabs(y - quad->p[i][1]) < 0.001);
CV_Assert(fabs(x - quad->p[i][0]) < 0.001);
CV_Assert(fabs(y - quad->p[i][1]) < 0.001);
}
#endif // NDEBUG
......
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