[mlpack-svn] r10320 - mlpack/trunk/src/mlpack/core/io

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Nov 18 15:15:33 EST 2011


Author: rcurtin
Date: 2011-11-18 15:15:32 -0500 (Fri, 18 Nov 2011)
New Revision: 10320

Modified:
   mlpack/trunk/src/mlpack/core/io/cli.cpp
Log:
Format things just a little better.


Modified: mlpack/trunk/src/mlpack/core/io/cli.cpp
===================================================================
--- mlpack/trunk/src/mlpack/core/io/cli.cpp	2011-11-17 19:53:37 UTC (rev 10319)
+++ mlpack/trunk/src/mlpack/core/io/cli.cpp	2011-11-18 20:15:32 UTC (rev 10320)
@@ -74,7 +74,7 @@
     std::map<std::string, timeval> times = Timers::GetAllTimers();
     std::map<std::string, timeval>::iterator iter;
     for(iter = times.begin(); iter != times.end(); iter++) {
-      Log::Info << iter->first << " -- ";
+      Log::Info << "  " << iter->first << ": ";
       Timers::PrintTimer(iter->first.c_str());
     }
   }
@@ -422,10 +422,10 @@
   std::list<std::string>::iterator iter;
   for (iter = rOpt.begin(); iter != rOpt.end(); iter++) {
   std::string str = *iter;
-  if (!vmap.count(str)) 
+  if (!vmap.count(str))
   {// If a required option isn't there...
     Timers::StopTimer("total_time"); //Execution stop here, pretty much.
-    Log::Fatal << "Required option --" << str.c_str() << " is undefined." 
+    Log::Fatal << "Required option --" << str.c_str() << " is undefined."
       << std::endl;
   }
   }




More information about the mlpack-svn mailing list