Commit d1b8e38e authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

trying to fix the custom AVX2 builder test failures (false alarms)

parent 386f52c7
......@@ -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;
}
......
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