In fact when I apply the change, the soft becomes very slow when zoomed in, so i don't really know anymore..
But if the code stays like that, there are many invalid memory reads detected by valgrind.


On 5/31/07, Fabien Chéreau <> wrote:

I think I found a mistake in GeodesicGrid which caused many invalid memory read and also descresed perfomances:
in GeodesicGrid::visitTriangles() line 270, I think this:
    if (lev <= max_visit_level)
should be replaced by this:
    if (lev < max_visit_level)

otherwise the code iterates one level too far.

Could you confirm?