From: srit Date: Sat, 26 Mar 2011 21:21:13 +0000 (+0000) Subject: MSVC++ seems a bit more strict than gcc with c++... X-Git-Tag: v1.2.0~110 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=715826b2afb2dcfe0dfa8d52a07f5dd6ef6dce32;p=clitk.git MSVC++ seems a bit more strict than gcc with c++... --- diff --git a/registration/clitkDemonsDeformableRegistrationGenericFilter.txx b/registration/clitkDemonsDeformableRegistrationGenericFilter.txx index 55406bb..13f81e3 100755 --- a/registration/clitkDemonsDeformableRegistrationGenericFilter.txx +++ b/registration/clitkDemonsDeformableRegistrationGenericFilter.txx @@ -348,7 +348,7 @@ namespace clitk //------------------------------------ //Set the number of iterations //------------------------------------ - unsigned int nIterations[nLevels]; + itk::Array nIterations(nLevels); for (unsigned int i=0 ; i maxRMSError[nLevels]; for (unsigned int i=0 ; i stop(nLevels); for (unsigned int i=0; i val(dim[b]); for (int i=0; i