Skip to content

Commit d1b8e38

Browse files
committed
trying to fix the custom AVX2 builder test failures (false alarms)
1 parent 386f52c commit d1b8e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/xfeatures2d/src/surf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ struct SURFInvoker : ParallelLoopBody
847847

848848
// unit vector is essential for contrast invariance
849849
vec = descriptors->ptr<float>(k);
850-
float scale = (float)(1./(std::sqrt(square_mag) + DBL_EPSILON));
850+
float scale = (float)(1./(std::sqrt(square_mag) + FLT_EPSILON));
851851
for( kk = 0; kk < dsize; kk++ )
852852
vec[kk] *= scale;
853853
}

0 commit comments

Comments
 (0)