From: srit Date: Sat, 26 Mar 2011 21:39:36 +0000 (+0000) Subject: Correct last commit X-Git-Tag: v1.2.0~109 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ea20e6f724d512fa6fbb4316f19c0319e28ae0ea;p=clitk.git Correct last commit --- 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: "<