From: eduardo.davila@creatis.insa-lyon.fr Date: Mon, 14 Oct 2024 10:45:42 +0000 (+0200) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=fec7eccf8cd15b0bfc77f335368042da8c81d9d4;p=bbtk.git Clean code --- 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 );