]> Creatis software - bbtk.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Mon, 14 Oct 2024 10:45:42 +0000 (12:45 +0200)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Mon, 14 Oct 2024 10:45:42 +0000 (12:45 +0200)
packages/std/src/bbstdVectorFilterDouble.cxx

index 1ef07bc30a3d852be3c611823c52cd1dee149c6a..16c90e1f876dac1f838f65946f79cc085318adb1 100644 (file)
@@ -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 );