From b8bc3d9aed8872b4d6182dffcf8837c8e8aa8509 Mon Sep 17 00:00:00 2001 From: delmon Date: Wed, 8 Dec 2010 14:06:06 +0000 Subject: [PATCH] Add missing ifdef ITK_USE_OPTIMISED_REGISTRATION_METHODS present in the H file but not in the TXX file. --- registration/clitkGenericMetric.txx | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.47.1