grid_map icon indicating copy to clipboard operation
grid_map copied to clipboard

LineIterator "Around the World" bug

Open mescarra opened this issue 7 years ago • 1 comments

Hi,

I've been using grid_map for quite some time now. I did not realize until recently that sometimes, I could not say exactly when, a LineIterator between 2 points or indices that are close together (about 10 cells) in a 1000x1000 cells map, goes through 990 iterations, give or take.

I found this problem because my program was sometimes a little bit slower so I started counting iterations.

Can you guys reproduce this issue?

mescarra avatar Nov 10 '17 14:11 mescarra

Hi Martín, Thanks for reporting this. We are not aware of this problem, but it might well exist. Could you please create a PR with a failing unit test for this case?

pfankhauser avatar Nov 10 '17 17:11 pfankhauser