grid_map
grid_map copied to clipboard
LineIterator "Around the World" bug
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?
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?