Skip to content

Commit

Permalink
fixing type info
Browse files Browse the repository at this point in the history
  • Loading branch information
mtao committed Jan 7, 2025
1 parent 1551914 commit 4fabd3a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ void SimplicialEmbedding::regularize_tags(bool generate_simplicial_embedding)
break;
}
case PrimitiveType::Triangle: { // face split
composite::TriFaceSplit op_face_split(m_mesh);
composite::TriFaceSplit op_face_split(static_cast<TriMesh&>(m_mesh));
op_face_split.add_invariant(std::make_shared<TodoInvariant>(
m_mesh,
std::get<attribute::TypedAttributeHandle<int64_t>>(todo_handle.handle())));
Expand Down Expand Up @@ -239,7 +239,7 @@ void SimplicialEmbedding::regularize_tags(bool generate_simplicial_embedding)
break;
}
case PrimitiveType::Tetrahedron: { // tet split
composite::TetCellSplit op_tet_split(m_mesh);
composite::TetCellSplit op_tet_split(static_cast<TetMesh&>(m_mesh));
op_tet_split.add_invariant(std::make_shared<TodoInvariant>(
m_mesh,
std::get<attribute::TypedAttributeHandle<int64_t>>(todo_handle.handle())));
Expand Down Expand Up @@ -308,4 +308,4 @@ void SimplicialEmbedding::regularize_tags(bool generate_simplicial_embedding)
}


} // namespace wmtk::components::internal
} // namespace wmtk::components::internal

0 comments on commit 4fabd3a

Please sign in to comment.