From ea20e6f724d512fa6fbb4316f19c0319e28ae0ea Mon Sep 17 00:00:00 2001 From: srit Date: Sat, 26 Mar 2011 21:39:36 +0000 Subject: [PATCH] Correct last commit --- .../clitkDemonsDeformableRegistrationGenericFilter.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registration/clitkDemonsDeformableRegistrationGenericFilter.txx b/registration/clitkDemonsDeformableRegistrationGenericFilter.txx index 13f81e3..fb4ad19 100755 --- a/registration/clitkDemonsDeformableRegistrationGenericFilter.txx +++ b/registration/clitkDemonsDeformableRegistrationGenericFilter.txx @@ -348,7 +348,7 @@ namespace clitk //------------------------------------ //Set the number of iterations //------------------------------------ - itk::Array nIterations(nLevels); + std::vector nIterations(nLevels); for (unsigned int i=0 ; iSetNumberOfIterations( nIterations ); + multiResolutionFilter->SetNumberOfIterations( &(nIterations) ); if(m_Verbose) { std::cout<<"Setting the number of iterations to: "<