From 16c7b25cb7ab0d93e150ecec871825ce127c1a43 Mon Sep 17 00:00:00 2001
From: Norihiro Watanabe <norihiro.watanabe@ufz.de>
Date: Tue, 8 Nov 2016 12:45:15 +0100
Subject: [PATCH] [Math/Eigen] reactivate EigenMatrix::write()

---
 MathLib/LinAlg/Eigen/EigenMatrix.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/MathLib/LinAlg/Eigen/EigenMatrix.h b/MathLib/LinAlg/Eigen/EigenMatrix.h
index 216b5e771af..b89712d1841 100644
--- a/MathLib/LinAlg/Eigen/EigenMatrix.h
+++ b/MathLib/LinAlg/Eigen/EigenMatrix.h
@@ -156,13 +156,10 @@ public:
     /// printout this matrix for debugging
     void write(std::ostream &os) const
     {
-        (void)os;
-#if 0
         for (int k=0; k<_mat.outerSize(); ++k)
-          for (Eigen::SparseMatrix<double>::InnerIterator it(_mat,k); it; ++it)
+          for (RawMatrixType::InnerIterator it(_mat,k); it; ++it)
               os << it.row() << " " << it.col() << ": " << it.value() << "\n";
         os << std::endl;
-#endif
     }
 #endif
 
-- 
GitLab