From: Eduardo DAVILA Date: Mon, 3 May 2021 09:48:44 +0000 (+0200) Subject: #3461 Bug box VectorDoubleFilter with empty vectors X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=aa52562bf033458137f2c645a0e770938c51551d;p=bbtk.git #3461 Bug box VectorDoubleFilter with empty vectors --- diff --git a/packages/std/src/bbstdVectorFilterDouble.cxx b/packages/std/src/bbstdVectorFilterDouble.cxx index 30798df..c9b6fec 100644 --- a/packages/std/src/bbstdVectorFilterDouble.cxx +++ b/packages/std/src/bbstdVectorFilterDouble.cxx @@ -28,6 +28,8 @@ void VectorFilterDouble::Process() // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') +printf("EED VectorFilterDouble::Process bbGetInputType()=%d\n", bbGetInputType() ); + std::vector< std::vector * > pLstVec; std::vector< std::vector * > pLstVecOut; std::vector In0 = bbGetInputIn0(); @@ -77,36 +79,39 @@ void VectorFilterDouble::Process() if (bbGetInputType()==0) // Erase duplicate lines { - bool okSizeVec=true; - int ipLstvec; - for (ipLstvec=1;ipLstvec