X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkVfImageIO.cxx;h=04108159f4960cc8dbbdda5c103d5cf7c3ddd756;hb=HEAD;hp=ee924d82c078062a5c9e0272ed571d22dc1e0ef6;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/common/clitkVfImageIO.cxx b/common/clitkVfImageIO.cxx index ee924d8..0410815 100644 --- a/common/clitkVfImageIO.cxx +++ b/common/clitkVfImageIO.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 CLITKVFIMAGEIO_CXX #define CLITKVFIMAGEIO_CXX @@ -152,6 +152,7 @@ void clitk::VfImageIO::WriteImageInformation(bool keepOfStream) // Open the file clitk::openFileForWriting(file, m_FileName); + file.precision(40); // write magic number file << "IAMA3DVECTORFIELD V2 " << std::endl; // write grid size/spacing