mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
trying to fix the custom AVX2 builder test failures (false alarms)
This commit is contained in:
@@ -847,7 +847,7 @@ struct SURFInvoker : ParallelLoopBody
|
||||
|
||||
// unit vector is essential for contrast invariance
|
||||
vec = descriptors->ptr<float>(k);
|
||||
float scale = (float)(1./(std::sqrt(square_mag) + DBL_EPSILON));
|
||||
float scale = (float)(1./(std::sqrt(square_mag) + FLT_EPSILON));
|
||||
for( kk = 0; kk < dsize; kk++ )
|
||||
vec[kk] *= scale;
|
||||
}
|
||||
|
Reference in New Issue
Block a user