mirror of
https://github.com/opencv/opencv.git
synced 2026-11-25 02:38:14 -06:00
It was warning: Implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' when assigning to `worst_score`. Looks to me like `worst_score` is actually being given the wrong type, and that it should have the same type as `hamming_distance`, which is `DistanceType`. It order to test, fixed a few adjacent -Wfloat-conversion warnings in translation units that use lsh_index.h.