From 1d5a8ee92f5b099f5f1640b735bf21609d0c683d Mon Sep 17 00:00:00 2001 From: Emilie Marchandise <emilie.marchandise@uclouvain.be> Date: Thu, 9 Sep 2010 12:00:15 +0000 Subject: [PATCH] --- Geo/GModelIO_Mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geo/GModelIO_Mesh.cpp b/Geo/GModelIO_Mesh.cpp index 3b899b5d1a..a46ac32040 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); -- GitLab