From 16c7b701aa361b3412422a6bd98abce6f56edc4f Mon Sep 17 00:00:00 2001 From: kai Date: Sun, 1 Jun 2025 15:57:01 +0200 Subject: [PATCH] revert output --- lab10/jacobi/matrix_io.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lab10/jacobi/matrix_io.cpp b/lab10/jacobi/matrix_io.cpp index 42c5c91..2721701 100644 --- a/lab10/jacobi/matrix_io.cpp +++ b/lab10/jacobi/matrix_io.cpp @@ -22,10 +22,10 @@ void MatrixIO::saveSerial(const Matrix &m, const std::string &filename) { std::ofstream fout(filename); const int numRows = m.rows(); const int numCols = m.cols(); - // fout << numRows << "," << numCols << "\n"; + fout << "# " << numRows << "\t" << numCols << "\n"; for (int i = 0; i < numRows; ++i) { for (int j = 0; j < numCols; ++j) { - fout << m(i, j) << ","; + fout << m(i, j) << "\t"; } fout << "\n"; }