From daa2c69714b32994c11fb9012b45ea2274c2a572 Mon Sep 17 00:00:00 2001 From: "mhochsteger@cerbsim.com" Date: Wed, 16 Feb 2022 19:52:25 +0100 Subject: [PATCH] fix parsing cd3names --- libsrc/meshing/meshclass.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 7fbf4618..945b9ea8 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -1495,8 +1495,7 @@ namespace netgen { string nextcd3name; ReadNumberAndName( infile, cd3nrs[i], nextcd3name ); - infile >> cd3nrs[i-1] >> nextcd3name; - cd3names[cd3nrs[i-1]-1] = new string(nextcd3name); + cd3names[cd3nrs[i]-1] = new string(nextcd3name); } if (GetDimension() < 3) {