]> Creatis software - clitk.git/commitdiff
Add missing ifdef.
authordelmon <delmon>
Thu, 31 Mar 2011 15:22:02 +0000 (15:22 +0000)
committerdelmon <delmon>
Thu, 31 Mar 2011 15:22:02 +0000 (15:22 +0000)
registration/clitkAffineRegistrationGenericFilter.cxx

index bf8e791224264ffe05c58b1109db6eaca9697200..be0b296018510e9d9ddd34a3128e402ab549f9f0 100644 (file)
@@ -176,8 +176,10 @@ void AffineRegistrationGenericFilter::UpdateWithInputImageType()
 //typedef typename InputImageType::ImageDimension Dimension;
 
 
+#ifdef ITK_USE_OPTIMIZED_REGISTRATION_METHODS
   bool threadsGiven=m_ArgsInfo.threads_given;
   int threads=m_ArgsInfo.threads_arg;
+#endif
 
   //Coordinate Representation
   typedef double TCoordRep;