[mlpack-git] master: Change order in printing backtrace (e664f3d)
gitdub at mlpack.org
gitdub at mlpack.org
Thu Mar 3 15:40:01 EST 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/fd84f3a2e53592d723a8e8a76dadb8aa76820913...1a9c41a86be1fa1dcc5c3b90dd959c2255c3bb8e
>---------------------------------------------------------------
commit e664f3dd3113d37b8d05199d2dba9e71f59eac1d
Author: Grzegorz Krajewski <krajekg at gmail.com>
Date: Thu Mar 3 21:40:01 2016 +0100
Change order in printing backtrace
>---------------------------------------------------------------
e664f3dd3113d37b8d05199d2dba9e71f59eac1d
src/mlpack/core/util/backtrace.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/core/util/backtrace.cpp b/src/mlpack/core/util/backtrace.cpp
index 11c7ec7..494242c 100644
--- a/src/mlpack/core/util/backtrace.cpp
+++ b/src/mlpack/core/util/backtrace.cpp
@@ -177,8 +177,8 @@ std::string Backtrace::ToString()
stackStr += "[bt]: (" + it.str() + ") "
+ frame.file + ":"
- + frame.function + ":"
- + lineOss.str() + "\n";
+ + lineOss.str() + " "
+ + frame.function + ":\n";
lineOss.str("");
it.str("");
More information about the mlpack-git
mailing list