]> Creatis software - clitk.git/commitdiff
Precision consistant with clitkVoxImageIO.cxx
authorsrit <srit>
Thu, 17 Jun 2010 15:13:55 +0000 (15:13 +0000)
committersrit <srit>
Thu, 17 Jun 2010 15:13:55 +0000 (15:13 +0000)
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