diff --git a/Geo/GModelIO_Mesh.cpp b/Geo/GModelIO_Mesh.cpp index 3b899b5d1a9593d2a0e449f27db065bd8ea7ea49..a46ac320404049e591156b8f0df38ff529807145 100644 --- a/Geo/GModelIO_Mesh.cpp +++ b/Geo/GModelIO_Mesh.cpp @@ -2702,7 +2702,7 @@ int GModel::readVTK(const std::string &name, bool bigEndian) int iLine = 1; int num = 0; for (int k= 0; k < numElements; k++){ - physicals[1][iLine][100] = "centerline"; + physicals[1][iLine][1] = "centerline"; fgets(line, sizeof(line), fp); v0=(int)strtol(line, &pEnd, 10);//ignore firt line v0=(int)strtol(pEnd, &pEnd2, 10);