mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Substituted the NaN check with OpenCV's implementation.
This commit is contained in:
parent
e7d5e57264
commit
bb01231990
@ -1202,7 +1202,8 @@ inline int RHO_HEST_REFC::isModelDegenerate(void){
|
||||
float f=H[0]+H[1]+H[2]+H[3]+H[4]+H[5]+H[6]+H[7];
|
||||
|
||||
/* degenerate = isnan(f); */
|
||||
degenerate = f!=f;/* Only NaN is not equal to itself. */
|
||||
/* degenerate = f!=f;// Only NaN is not equal to itself. */
|
||||
degenerate = cvIsNaN(f);
|
||||
/* degenerate = 0; */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user