From aa52562bf033458137f2c645a0e770938c51551d Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Mon, 3 May 2021 11:48:44 +0200 Subject: [PATCH] #3461 Bug box VectorDoubleFilter with empty vectors --- packages/std/src/bbstdVectorFilterDouble.cxx | 57 +++++++++++--------- 1 file changed, 31 insertions(+), 26 deletions(-) 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