From 24e4993b683bc51db1bef5d1ee26dd812d7b3f57 Mon Sep 17 00:00:00 2001
From: Mathieu Deltorre <mathieu.deltorre@c-s.fr>
Date: Fri, 23 May 2008 12:45:43 +0000
Subject: [PATCH] *modif std::precision

---
 .../otbImageToSIFTKeyPointSetFilterOutputAscii.cxx              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx
index 2f8ed9400b..c1497a0e65 100644
--- a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx
+++ b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx
@@ -75,7 +75,7 @@ int otbImageToSIFTKeyPointSetFilterOutputAscii(int argc, char * argv[])
   outfile << "Number of SIFT key points: " << filter->GetOutput()->GetNumberOfPoints() << std::endl;
   while( pIt!=filter->GetOutput()->GetPoints()->End() )
     {      
-      outfile << pIt.Value() << "[";
+      outfile << "[" << std::fixed << std::setprecision(2) << pIt.Value()[0] << ", " << std::setprecision(2) << pIt.Value()[1] << "][";
       
       unsigned int lIterDesc=0;
       while (lIterDesc < pDataIt.Value().Size())
-- 
GitLab