Commit 090b9992 authored by Sylvain Thery's avatar Sylvain Thery

compil pb in createDiamond

parent a5bb94fa
......@@ -139,7 +139,7 @@ Dart createDiamond(typename PFP::MAP& map, unsigned int nbSides)
unsigned int nbt = 2*nbSides -1 ; // -1 for computation optimization
m_tableVertDarts.reserve(n);
m_tableVertDarts.reserve(nbSides);
// creation of triangles around circunference and storing vertices
......@@ -177,7 +177,6 @@ Dart createDiamond(typename PFP::MAP& map, unsigned int nbSides)
for(unsigned int i = 0; i < nbSides ; ++i)
{
map.sewFaces(m_tableVertDarts[i], m_tableVertDarts[nbt-i], false);
d1 = map.phi1(d1);
}
//return a dart from the base
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment