[mlpack-svn] r14051 - mlpack/trunk/src/mlpack/core/data

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Sat Dec 22 11:21:35 EST 2012


Author: rcurtin
Date: 2012-12-22 11:21:34 -0500 (Sat, 22 Dec 2012)
New Revision: 14051

Modified:
   mlpack/trunk/src/mlpack/core/data/load_impl.hpp
Log:
Flush status message to output before the size of the loaded matrix is
determined.


Modified: mlpack/trunk/src/mlpack/core/data/load_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/data/load_impl.hpp	2012-12-21 20:52:12 UTC (rev 14050)
+++ mlpack/trunk/src/mlpack/core/data/load_impl.hpp	2012-12-22 16:21:34 UTC (rev 14051)
@@ -178,7 +178,8 @@
     Log::Warn << "Loading '" << filename << "' as " << stringType << "; "
         << "but this may not be the actual filetype!" << std::endl;
   else
-    Log::Info << "Loading '" << filename << "' as " << stringType << ".  ";
+    Log::Info << "Loading '" << filename << "' as " << stringType << ".  "
+        << std::flush;
 
   bool success = matrix.load(stream, loadType);
 




More information about the mlpack-svn mailing list