From fec7eccf8cd15b0bfc77f335368042da8c81d9d4 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Mon, 14 Oct 2024 12:45:42 +0200 Subject: [PATCH] Clean code --- packages/std/src/bbstdVectorFilterDouble.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/std/src/bbstdVectorFilterDouble.cxx b/packages/std/src/bbstdVectorFilterDouble.cxx index 1ef07bc..16c90e1 100644 --- a/packages/std/src/bbstdVectorFilterDouble.cxx +++ b/packages/std/src/bbstdVectorFilterDouble.cxx @@ -479,18 +479,18 @@ void VectorFilterDouble::Process() Out0.push_back( In0[2] ); // z Out0.push_back( In0[1] ); // y } - if (k1[1]==1) { + if (k1[0]==1) { Out0.push_back( In0[0] ); // x Out0.push_back( In0[1] ); // y Out0.push_back( In0[2] ); // z } - if (k1[2]==2) { + if (k1[0]==2) { Out0.push_back( In0[2] ); // z Out0.push_back( In0[1] ); // y Out0.push_back( In0[0] ); // x } } // if In0.size and k1.size - } // Type 14 + } // Type 15 bbSetOutputOut0( Out0 ); bbSetOutputOut1( Out1 ); -- 2.46.2