From: srit Date: Sat, 26 Mar 2011 22:57:22 +0000 (+0000) Subject: Errors in previous commit X-Git-Tag: v1.2.0~104 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=413cf925a4e665aacd68d0a3eb9328818ac3abde;p=clitk.git Errors in previous commit --- diff --git a/registration/clitkDemonsDeformableRegistrationGenericFilter.txx b/registration/clitkDemonsDeformableRegistrationGenericFilter.txx index fb4ad19..887676e 100755 --- a/registration/clitkDemonsDeformableRegistrationGenericFilter.txx +++ b/registration/clitkDemonsDeformableRegistrationGenericFilter.txx @@ -358,7 +358,7 @@ namespace clitk else nIterations[i]=m_ArgsInfo.maxIter_arg[0]; } - multiResolutionFilter->SetNumberOfIterations( &(nIterations) ); + multiResolutionFilter->SetNumberOfIterations( &(nIterations[0]) ); if(m_Verbose) { std::cout<<"Setting the number of iterations to: "< maxRMSError[nLevels]; + itk::Array maxRMSError(nLevels); for (unsigned int i=0 ; i