diff --git a/Geo/GModelIO_MSH.cpp b/Geo/GModelIO_MSH.cpp index 764661a08b297c70c6b9585262f647a85373b22e..15a0dd6126bc36349d5a292eed6ad7116d8772d8 100644 --- a/Geo/GModelIO_MSH.cpp +++ b/Geo/GModelIO_MSH.cpp @@ -42,7 +42,7 @@ void writeMSHPeriodicNodes(FILE *fp, std::vector<GEntity*> &entities) it != g_slave->correspondingVertices.end(); it++){ MVertex *v1 = it->first; MVertex *v2 = it->second; - fprintf(fp,"%d %d\n", v1->getNum(), v2->getNum()); + fprintf(fp,"%d %d\n", v1->getIndex(), v2->getIndex()); } } }