From 8377384bb129125335d30c4287c9ef5d480ac7ae Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (home)" <j.wuttke@fz-juelich.de> Date: Wed, 9 Sep 2009 12:03:27 +0200 Subject: [PATCH] c --- pub/src/edif.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pub/src/edif.cpp b/pub/src/edif.cpp index 6621962e..59039375 100644 --- a/pub/src/edif.cpp +++ b/pub/src/edif.cpp @@ -886,7 +886,7 @@ void NEdif::ReadTab( string qualif ) S.z.resize( nz ); for( uint iz=0; iz<nzdat; ++iz ) S.z[iz] = zdat[iz]; - S.z[nz-1] = nline++; + S.z[nz-1] = nline; for( int i=0; i<dat.size(); ++i ) S.push_back( (double)i, dat[i] ); olf.VS.push_back(S); @@ -907,7 +907,8 @@ void NEdif::ReadTab( string qualif ) S.push_back( dat[0], dat[1] ); } } - + ++nline; + } // end of file input loop if( !horizontal && S.size()>0 ) -- GitLab