]> Creatis software - clitk.git/commitdiff
add initialisation to avoid warning
authordsarrut <david.sarrut@gmail.com>
Tue, 12 Jul 2011 06:09:20 +0000 (08:09 +0200)
committerdsarrut <david.sarrut@gmail.com>
Tue, 12 Jul 2011 06:09:20 +0000 (08:09 +0200)
itk/clitkComposeVFFilter.txx

index b02de1bd9f3d14c068f96f263e9d72ec7fd9b5ff..e70d9c3f26dc8f74473fde3e677c584eba1b173a 100644 (file)
@@ -116,7 +116,7 @@ namespace clitk
                
                
                // get neighbor index and overlap fraction
-               for( dim = 0; dim < 3; dim++ )
+               for( dim = 0; dim < ImageDimension; dim++ )
                  {
                    if ( upper & 1 )
                      {