Skip to content
Snippets Groups Projects
Commit 365a8c12 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile

parent 04e4697c
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ double MElement::maxDistToStraight() ...@@ -120,7 +120,7 @@ double MElement::maxDistToStraight()
const int &dim = uvw.size2(); const int &dim = uvw.size2();
const nodalBasis *lagBasis1 = getFunctionSpace(1); const nodalBasis *lagBasis1 = getFunctionSpace(1);
const int &nV1 = lagBasis1->points.size1(); const int &nV1 = lagBasis1->points.size1();
SPoint3 xyz1[nV1]; std::vector<SPoint3> xyz1(nV1);
for (int iV = 0; iV < nV1; ++iV) xyz1[iV] = getVertex(iV)->point(); for (int iV = 0; iV < nV1; ++iV) xyz1[iV] = getVertex(iV)->point();
double maxdx = 0.; double maxdx = 0.;
for (int iV = nV1; iV < nV; ++iV) { for (int iV = nV1; iV < nV; ++iV) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment