Closed softmattertheory closed 6 months ago
This PR fixes a minor bug in MeshPruner that could occasionally generate duplicate elements. The new algorithm explicitly checks for duplicates.
A check in area_functional and length_functional prevents a possible SEGFAULT if a badly formed element is incorrectly passed to these functions.
This PR fixes a minor bug in MeshPruner that could occasionally generate duplicate elements. The new algorithm explicitly checks for duplicates.
A check in area_functional and length_functional prevents a possible SEGFAULT if a badly formed element is incorrectly passed to these functions.