Commit a133c40052e0c273d0e65fe1464036669c591603
1 parent
726d9fbb
Correct debugging code of GMatrixSparse
Showing
1 changed file
with
2 additions
and
2 deletions
src/linalg/GMatrixSparse.cpp
| ... | ... | @@ -916,7 +916,7 @@ void GMatrixSparse::column(const int& column, const GVector& vector) |
| 916 | 916 | // Debug header |
| 917 | 917 | #if defined(G_DEBUG_SPARSE_INSERTION) |
| 918 | 918 | std::cout << "GMatrixSparse::column("; |
| 919 | - std::cout << column << ", [" << v << "]):" << std::endl; | |
| 919 | + std::cout << column << ", [" << vector << "]):" << std::endl; | |
| 920 | 920 | std::cout << " In Data : "; |
| 921 | 921 | for (int i = 0; i < m_elements; ++i) { |
| 922 | 922 | std::cout << m_data[i] << " "; |
| ... | ... | @@ -1019,7 +1019,7 @@ void GMatrixSparse::column(const int& column, const GVector& vector) |
| 1019 | 1019 | for (int i = 0; i < m_elements; ++i) { |
| 1020 | 1020 | std::cout << m_rowinx[i] << " "; |
| 1021 | 1021 | } |
| 1022 | - std::cout << endl << " Out Col : "; | |
| 1022 | + std::cout << std::endl << " Out Col : "; | |
| 1023 | 1023 | for (int i = 0; i < m_cols+1; ++i) { |
| 1024 | 1024 | std::cout << m_colstart[i] << " "; |
| 1025 | 1025 | } | ... | ... |