Skip to content
Snippets Groups Projects
Commit 16c7b25c authored by Norihiro Watanabe's avatar Norihiro Watanabe Committed by Dmitri Naumov
Browse files

[Math/Eigen] reactivate EigenMatrix::write()

parent 42728084
No related branches found
No related tags found
No related merge requests found
...@@ -156,13 +156,10 @@ public: ...@@ -156,13 +156,10 @@ public:
/// printout this matrix for debugging /// printout this matrix for debugging
void write(std::ostream &os) const void write(std::ostream &os) const
{ {
(void)os;
#if 0
for (int k=0; k<_mat.outerSize(); ++k) 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 << it.row() << " " << it.col() << ": " << it.value() << "\n";
os << std::endl; os << std::endl;
#endif
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment