flann-lib / flann

Fast Library for Approximate Nearest Neighbors
http://people.cs.ubc.ca/~mariusm/flann
Other
2.21k stars 646 forks source link

Fix issues 308 #472

Open scrise opened 3 years ago

scrise commented 3 years ago

The condition j-- did the decrement before we compared whether values are equal in the for loop.

scrise commented 3 years ago

[----------] 8 tests from LshIndex_Brief100K (147359 ms total)

[----------] Global test environment tear-down [==========] 8 tests from 1 test case ran. (147359 ms total) [ PASSED ] 1 test. [ FAILED ] 7 tests, listed below: [ FAILED ] LshIndex_Brief100K.TestSearch [ FAILED ] LshIndex_Brief100K.TestSearch2 [ FAILED ] LshIndex_Brief100K.TestAddIncremental [ FAILED ] LshIndex_Brief100K.TestIncremental2 [ FAILED ] LshIndex_Brief100K.TestSave [ FAILED ] LshIndex_Brief100K.TestCopy [ FAILED ] LshIndex_Brief100K.TestCopy2

7 FAILED TESTS

The flann_lsh_test failed for a long time.

scrise commented 3 years ago

308