From 8613b5b5e348fd609f66cf410891fdc34d7c10a9 Mon Sep 17 00:00:00 2001
From: Saad Jbabdi <saad@fmrib.ox.ac.uk>
Date: Thu, 15 Oct 2009 16:28:08 +0000
Subject: [PATCH] replace cout by cerr

---
 probtrackx.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/probtrackx.cc b/probtrackx.cc
index 8380095..758d2a7 100644
--- a/probtrackx.cc
+++ b/probtrackx.cc
@@ -45,8 +45,8 @@ int main ( int argc, char **argv ){
   else if(opts.network.value()){ nmasks(); }
   else if(opts.meshfile.value()!=""){meshmask();}
   else {
-    cout << "No seed mask detected! exit without doing anything"<<endl;
-    cout << "If you are seeding from a list of coordinates, use --mode=simple"<<endl;
+    cerr << "No seed mask detected! exit without doing anything"<<endl;
+    cerr << "If you are seeding from a list of coordinates, use --mode=simple"<<endl;
     return 0;
   };
 
-- 
GitLab