Commit b52d52d0 authored by Sylvain Thery's avatar Sylvain Thery

correction bug exportPLYPTM

parent cb5cee7a
...@@ -295,7 +295,7 @@ bool exportPLYPTM(typename PFP::MAP& map, const char* filename, const typename P ...@@ -295,7 +295,7 @@ bool exportPLYPTM(typename PFP::MAP& map, const char* filename, const typename P
{ {
if (!markV.isMarked(e)) if (!markV.isMarked(e))
{ {
vertices.push_back(lab); vertices.push_back(map.getEmbedding(e, VERTEX_ORBIT));
tableVertLab[e] = lab++; tableVertLab[e] = lab++;
markV.mark(e); markV.mark(e);
...@@ -416,7 +416,7 @@ bool exportPLYPTM(typename PFP::MAP& map, const char* filename, const typename P ...@@ -416,7 +416,7 @@ bool exportPLYPTM(typename PFP::MAP& map, const char* filename, const typename P
{ {
if (!markV.isMarked(e)) if (!markV.isMarked(e))
{ {
vertices.push_back(lab); vertices.push_back(map.getEmbedding(e, VERTEX_ORBIT));
tableVertLab[e] = lab++; tableVertLab[e] = lab++;
markV.mark(e); markV.mark(e);
......
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