From bb9059c01be08aae3b83e58c64d364115aa18934 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@cnes.fr>
Date: Wed, 5 Apr 2017 17:08:01 +0200
Subject: [PATCH] ENH: Larger spacing between columns

---
 Modules/Learning/Unsupervised/include/otbContingencyTable.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/Learning/Unsupervised/include/otbContingencyTable.h b/Modules/Learning/Unsupervised/include/otbContingencyTable.h
index f41e33725b..d1996e66a3 100644
--- a/Modules/Learning/Unsupervised/include/otbContingencyTable.h
+++ b/Modules/Learning/Unsupervised/include/otbContingencyTable.h
@@ -81,7 +81,7 @@ public:
         }
       }
 
-    int width = static_cast<int>(maxWidth);
+    int width = static_cast<int>(maxWidth)+1;
 
     // Write the first line of the matrix (produced labels)
     o << std::setfill(' ') << std::setw( width ) << "labels";
-- 
GitLab