diff --git a/src/Simplification.cpp b/src/Simplification.cpp index d234716..f9ba8b5 100644 --- a/src/Simplification.cpp +++ b/src/Simplification.cpp @@ -363,6 +363,7 @@ void floatTetWild::collapsing(std::vector& input_vertices, std::vector< } //real update +#ifndef FLOAT_TETWILD_USE_TBB // std::unordered_set n_v_ids;//get this info before real update for later usage std::vector n_v_ids;//get this info before real update for later usage for (int f_id:new_f_ids) { @@ -372,6 +373,7 @@ void floatTetWild::collapsing(std::vector& input_vertices, std::vector< } } vector_unique(n_v_ids); +#endif v_is_removed[v1_id] = true; input_vertices[v2_id] = p;