X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkImageExtractLine.cxx;h=b4ef60340ce2c2752999c28b2d2390de9df26874;hb=75d6e9c40542d37c9f1c1ea5c9b0f2f937ea91db;hp=5360b02359a4f33521a20fa00aa530ee808d45ed;hpb=9a3d4553643acd3165b1fd2bb0d576b661f2fa18;p=clitk.git diff --git a/tools/clitkImageExtractLine.cxx b/tools/clitkImageExtractLine.cxx index 5360b02..b4ef603 100644 --- a/tools/clitkImageExtractLine.cxx +++ b/tools/clitkImageExtractLine.cxx @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef CLITKIMAGEEXTRACTLINE_CXX #define CLITKIMAGEEXTRACTLINE_CXX /** @@ -136,7 +136,7 @@ int main(int argc, char * argv[]) DD(dim); DD(direction); - double val[dim[b]]; + std::vector val(dim[b]); for (int i=0; i