We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ecd0ad commit 772199eCopy full SHA for 772199e
taichi/program/sparse_matrix.cpp
@@ -271,7 +271,7 @@ const std::string EigenSparseMatrix<EigenMatrix>::to_string() const {
271
template <class EigenMatrix>
272
void EigenSparseMatrix<EigenMatrix>::mmwrite(const std::string &filename) {
273
std::ofstream file(filename);
274
- file << "%%MatrixMarket matrix coordinate real general\n %" << std::endl;
+ file << "%%MatrixMarket matrix coordinate real general\n%" << std::endl;
275
file << matrix_.rows() << " " << matrix_.cols() << " " << matrix_.nonZeros()
276
<< std::endl;
277
for (int k = 0; k < matrix_.outerSize(); ++k) {
0 commit comments