Merge pull request #13270 from 1over:flann_dist_fix

This commit is contained in:
Alexander Alekhin 2018-11-25 18:27:42 +00:00
commit ca5455c592

View File

@ -462,10 +462,9 @@ struct Hamming
}
}
#else // NO NEON and NOT GNUC
typedef unsigned long long pop_t;
HammingLUT lut;
result = lut(reinterpret_cast<const unsigned char*> (a),
reinterpret_cast<const unsigned char*> (b), size * sizeof(pop_t));
reinterpret_cast<const unsigned char*> (b), size);
#endif
return result;
}