From 31aa4cc4fb2fd267593def41b596892cdce135f8 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Thu, 13 Oct 2022 20:16:40 +0200 Subject: [PATCH] [MaL] Drop colon in matrix output making reading in python much easier. --- MathLib/LinAlg/Eigen/EigenMatrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MathLib/LinAlg/Eigen/EigenMatrix.cpp b/MathLib/LinAlg/Eigen/EigenMatrix.cpp index ae6c3813b9e..f454a0a38c2 100644 --- a/MathLib/LinAlg/Eigen/EigenMatrix.cpp +++ b/MathLib/LinAlg/Eigen/EigenMatrix.cpp @@ -32,7 +32,7 @@ void EigenMatrix::write(std::ostream& os) const { for (RawMatrixType::InnerIterator it(mat_, k); it; ++it) { - os << it.row() << " " << it.col() << ": " << it.value() << "\n"; + os << it.row() << " " << it.col() << " " << it.value() << "\n"; } } os << std::endl; -- GitLab