[mlpack-git] master: switch last (!) remaining std::cout to destination (6dd6008)
gitdub at mlpack.org
gitdub at mlpack.org
Sun Nov 20 12:58:52 EST 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/8c91b011ab96f335c912b03eb5a50b6a4bff26ed...d7a97df7eaa9fd38ced38fafc6b663266877d9af
>---------------------------------------------------------------
commit 6dd600825395e1bdb0455ad836daefc49b5ca66f
Author: Dirk Eddelbuettel <edd at debian.org>
Date: Sun Nov 20 11:58:52 2016 -0600
switch last (!) remaining std::cout to destination
>---------------------------------------------------------------
6dd600825395e1bdb0455ad836daefc49b5ca66f
src/mlpack/core/util/prefixedoutstream_impl.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/core/util/prefixedoutstream_impl.hpp b/src/mlpack/core/util/prefixedoutstream_impl.hpp
index 895de2a..a97cc78 100644
--- a/src/mlpack/core/util/prefixedoutstream_impl.hpp
+++ b/src/mlpack/core/util/prefixedoutstream_impl.hpp
@@ -103,7 +103,7 @@ void PrefixedOutStream::BaseLogic(const T& val)
if (fatal && newlined)
{
if (!ignoreInput)
- std::cout << std::endl;
+ destination << std::endl;
// Print a backtrace, if we can.
#ifdef HAS_BFD_DL
More information about the mlpack-git
mailing list