]> Creatis software - clitk.git/blobdiff - common/clitkVfImageIO.cxx
make difference between 2D and 3D with a single slice image (Dim obtained from ITK...
[clitk.git] / common / clitkVfImageIO.cxx
index ee924d82c078062a5c9e0272ed571d22dc1e0ef6..6d53f4370c289ab4174650badcf0347ce1bff098 100644 (file)
@@ -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