fix const correctness

This commit is contained in:
alemuntoni 2021-03-24 19:15:27 +01:00
parent b4d46e1ccc
commit c3d60cee50
2 changed files with 3 additions and 3 deletions

View File

@ -155,8 +155,8 @@ void MaxMinEdge(const MeshType &mesh,typename MeshType::ScalarType &min,
for (int i=0;i<3;i++)
{
typename MeshType::VertexType* v0=(*Fi).cV0(i);
typename MeshType::VertexType* v1=(*Fi).cV1(i);
const typename MeshType::VertexType* v0=(*Fi).V0(i);
const typename MeshType::VertexType* v1=(*Fi).V1(i);
if (v0>v1)
{
ScalarType dist=(v0->P()-v1->P()).Norm();

@ -1 +1 @@
Subproject commit d69e3e67cc14970906a33efdd92894e24abb140e
Subproject commit adb799a0a2f6c51e407752add09eb8beddc18d58