]> Creatis software - clitk.git/commitdiff
Add missing ifdef ITK_USE_OPTIMISED_REGISTRATION_METHODS present in the H file
authordelmon <delmon>
Wed, 8 Dec 2010 14:06:06 +0000 (14:06 +0000)
committerdelmon <delmon>
Wed, 8 Dec 2010 14:06:06 +0000 (14:06 +0000)
but not in the TXX file.

registration/clitkGenericMetric.txx

index 27c68edb7149fabfb3e54b5e4d25f2a64baa1a37..73be423a3b925d4c8760ac64c5e36d36e9bdca9d 100644 (file)
@@ -34,8 +34,10 @@ GenericMetric<args_info_type, FixedImageType, MovingImageType>::GenericMetric()
   m_Maximize=false;
   m_Verbose=false;
   m_FixedImageRegionGiven=false;
+#ifdef ITK_USE_OPTIMISED_REGISTRATION_METHODS
   m_FixedImageSamplesIntensityThreshold=0;
   m_UseFixedImageSamplesIntensityThreshold=false;
+#endif
   m_FixedImageMask=NULL;
 }