Community
Participate
Working Groups
In computeForces(...), distance_sq can be 0 due to a wrong order of statements, which results in NaN forces in the following divisions by distance_sq. As a result, the algorithm sometimes places all nodes at (0, 0). This problem was fixed when the code was revised for GEF4 Zest, but is still present in GEF 3/Zest 1.
Created attachment 263210 [details] Patch to fix this bug