From: delmon Date: Wed, 8 Dec 2010 14:06:06 +0000 (+0000) Subject: Add missing ifdef ITK_USE_OPTIMISED_REGISTRATION_METHODS present in the H file X-Git-Tag: v1.2.0~294 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b8bc3d9aed8872b4d6182dffcf8837c8e8aa8509;p=clitk.git Add missing ifdef ITK_USE_OPTIMISED_REGISTRATION_METHODS present in the H file but not in the TXX file. --- diff --git a/registration/clitkGenericMetric.txx b/registration/clitkGenericMetric.txx index 27c68ed..73be423 100644 --- a/registration/clitkGenericMetric.txx +++ b/registration/clitkGenericMetric.txx @@ -34,8 +34,10 @@ GenericMetric::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; }