From: delmon Date: Thu, 31 Mar 2011 15:22:02 +0000 (+0000) Subject: Add missing ifdef. X-Git-Tag: v1.2.0~78 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=11867ca2963aac6e534caae80368f73532d39744;p=clitk.git Add missing ifdef. --- diff --git a/registration/clitkAffineRegistrationGenericFilter.cxx b/registration/clitkAffineRegistrationGenericFilter.cxx index bf8e791..be0b296 100644 --- a/registration/clitkAffineRegistrationGenericFilter.cxx +++ b/registration/clitkAffineRegistrationGenericFilter.cxx @@ -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;