• Martin Heistermann's avatar
    Fix deferred vertex deletion, add unit tests. · 36ceca6e
    Martin Heistermann authored
    GeometryKernel::collect_garbage used to first perform the TopologyKernel
    garbage collection, usually shrinking its vertex_deleted_ member, then
    accessed it using is_deleted() with the old vertex indices.
    
    This caused out-of-bounds memory access (made visible by
    cmake -DSTL_VECTOR_CHECKS=ON) and non-fast deletion also resulted in wrong
    results, the remaining vertices had wrong coordinates.
    36ceca6e
Name
Last commit
Last update
CI Loading commit data...
cmake Loading commit data...
documentation Loading commit data...
examples Loading commit data...
license Loading commit data...
src Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG Loading commit data...
CMakeLists.txt Loading commit data...
README Loading commit data...
VERSION Loading commit data...