From: Eduardo Enrique Davila Serrano Date: Fri, 3 Mar 2023 14:35:43 +0000 (+0100) Subject: box VectorFilterString with EraseDuplicateLines option X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=fd2de071f49645806eeabb3ed6831055cebd3c75;p=bbtk.git box VectorFilterString with EraseDuplicateLines option --- diff --git a/packages/std/src/bbstdVectorFilterString.cxx b/packages/std/src/bbstdVectorFilterString.cxx index 1995356..d4a9c9d 100644 --- a/packages/std/src/bbstdVectorFilterString.cxx +++ b/packages/std/src/bbstdVectorFilterString.cxx @@ -371,7 +371,7 @@ void VectorFilterString::EraseDuplicateLines() int size=0; if (bbGetInputType()==8) { size = pLstVec.size(); } if (bbGetInputType()==9) { size = 1; } - for (iLine=0 ; iLine < (*pLstVec[0]).size() ; iLine++ ) + for (iLine=1 ; iLine < (*pLstVec[0]).size() ; iLine++ ) { okLine=false; // for ( ipLstvec2=0 ; ipLstvec2