Skip to content

Commit

Permalink
Merge pull request #1732 from alalek:fix_debug_build
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Aug 23, 2018
2 parents 645ca12 + 2203743 commit 97878da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/aruco/src/apriltag_quad_thresh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 97878da

Please sign in to comment.