From 9ece1b744429e96255bf38fb9a1460cfaf1d8374 Mon Sep 17 00:00:00 2001 From: Frederick Roy Date: Wed, 14 Jan 2026 09:32:59 +0900 Subject: [PATCH] fix typo in assertion --- Sofa/framework/Core/src/sofa/core/visual/DrawMesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sofa/framework/Core/src/sofa/core/visual/DrawMesh.h b/Sofa/framework/Core/src/sofa/core/visual/DrawMesh.h index 3514ce48e50..3e1d321cf3e 100644 --- a/Sofa/framework/Core/src/sofa/core/visual/DrawMesh.h +++ b/Sofa/framework/Core/src/sofa/core/visual/DrawMesh.h @@ -298,7 +298,7 @@ struct SOFA_CORE_API DrawElementMesh { const auto& element = elements[i]; const auto& facetsInElement = topology->getQuadsInHexahedron(i); - assert(facetsInElement.size() == NumberTrianglesInTetrahedron); + assert(facetsInElement.size() == NumberQuadsInHexahedron); const auto center = this->elementCenter(position, element);