Closed lexplua closed 7 years ago
LGTM,
Note: this part of the code is a bit dusty.
but lets check the logs on CI (for warnings), after this is compiled.
(I do not get how exactly this can cause an overflow)
Logs look good.
@lexplua Thanks for your contribution. Can you do the const modifications? We will merge it then.
@hendrikmuhs Yep, i will. I'd like to add test also.
@lexplua
Do not be disappointed, your patch is very welcome! But sorry the unit test does not make sense in my opinion.
Can you remove the unit test from the PR? Feel free - if you like - to just remove the test but check in the file, actually we miss coverage for distance_matrix.h.
@hendrikmuhs
Can you remove the unit test from the PR
- Done !
Previously it was 'int' type in DistanceMatrix struct. It can cause overflows.