From 29312fc37862beea13f844216670f60f1337e0fd Mon Sep 17 00:00:00 2001
From: Taylor Hanayik <taylor.hanayik@ndcn.ox.ac.uk>
Date: Thu, 4 Apr 2019 11:39:48 +0000
Subject: [PATCH] remove newline printing from -r option

---
 fslstats.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fslstats.cc b/fslstats.cc
index f85472b..7196159 100644
--- a/fslstats.cc
+++ b/fslstats.cc
@@ -354,7 +354,7 @@ int fmrib_main_float(int argc, char* argv[],const bool timeseriesMode, const str
       }
     } else if (sarg=="-r") {
       vector<float> limits(vol.robustlimits(mask));
-      cout << limits[0] << " " << limits[1] << endl;
+      cout << limits[0] << " " << limits[1] << " ";
     } else if (sarg=="-R") {
       cout << vol.min(mask) << " " << vol.max(mask) << " ";
     } else if (sarg=="-c") {
-- 
GitLab