From 9a7153af80efcbbe24b580fe9ade08e2a6d04033 Mon Sep 17 00:00:00 2001 From: Michael Tao Date: Sun, 8 Dec 2024 10:35:56 -0500 Subject: [PATCH] minor update --- applications/isotropic_remeshing/CMakeLists.txt | 1 + src/wmtk/operations/Operation.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/isotropic_remeshing/CMakeLists.txt b/applications/isotropic_remeshing/CMakeLists.txt index 2f916ff9df..2cb27494ae 100644 --- a/applications/isotropic_remeshing/CMakeLists.txt +++ b/applications/isotropic_remeshing/CMakeLists.txt @@ -34,6 +34,7 @@ wmtk_register_integration_test( GIT_TAG 363f8e860673a4e4f68df6465b99e86809c96283 CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR}/examples + ) # #wmtk_register_integration_test( diff --git a/src/wmtk/operations/Operation.cpp b/src/wmtk/operations/Operation.cpp index d8112cb4b8..bb5f468a49 100644 --- a/src/wmtk/operations/Operation.cpp +++ b/src/wmtk/operations/Operation.cpp @@ -165,7 +165,7 @@ void Operation::apply_attribute_transfer(const std::vector& di for (const auto& at_ptr : m_attr_transfer_strategies) { if (&m_mesh == &(at_ptr->mesh())) { for (const simplex::IdSimplex& s : all.simplex_vector()) { - assert(m_mesh.is_valid(s)); + assert(m_mesh.get_const_flag_accessor(s.primitive_type()).is_active(s)); if (s.primitive_type() == at_ptr->primitive_type()) { at_ptr->run(m_mesh.get_simplex(s)); }