You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The quad tree is currently based on integer boundaries. These can overflow for sufficiently large values, which can happen if the forces make the nodes fly away with a high velocity.
To solve this, we currently clamp the particles to i32::MIN and i32::MAX to prevent that from happening (we use i64 boundaries).
Still, if the user supplies values that are too large the quadtree::cover can crash.
We should fix this overall situation by correctly setting (i.e. clamping) the quad tree boundaries.
The text was updated successfully, but these errors were encountered:
The quad tree is currently based on integer boundaries. These can overflow for sufficiently large values, which can happen if the forces make the nodes fly away with a high velocity.
To solve this, we currently clamp the particles to
i32::MIN
andi32::MAX
to prevent that from happening (we usei64
boundaries).Still, if the user supplies values that are too large the
quadtree::cover
can crash.We should fix this overall situation by correctly setting (i.e. clamping) the quad tree boundaries.
The text was updated successfully, but these errors were encountered: