[mlpack] 10/30: Use std::cout so users get output.

Barak A. Pearlmutter barak+git at pearlmutter.net
Mon Dec 26 10:15:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit d7e15335764d4b69a03a22ec5afe36a1f094559f
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Nov 23 17:13:21 2016 -0500

    Use std::cout so users get output.
---
 doc/guide/sample.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/guide/sample.hpp b/doc/guide/sample.hpp
index 16cc2fb..d486016 100644
--- a/doc/guide/sample.hpp
+++ b/doc/guide/sample.hpp
@@ -69,7 +69,7 @@ int main()
   // Write each neighbor and distance using Log.
   for (size_t i = 0; i < neighbors.n_elem; ++i)
   {
-    Log::Info << "Nearest neighbor of point " << i << " is point "
+    std::cout << "Nearest neighbor of point " << i << " is point "
         << neighbors[i] << " and the distance is " << distances[i] << ".\n";
   }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list