From d85b5d4db556c0db920bba9d63eab1483124e435 Mon Sep 17 00:00:00 2001 From: Kazem Date: Thu, 1 Oct 2020 23:58:12 -0400 Subject: [PATCH] header problem fixed --- smp_format.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/smp_format.h b/smp_format.h index 30d80f4..71e882f 100644 --- a/smp_format.h +++ b/smp_format.h @@ -246,7 +246,8 @@ namespace format{ if(A_){ fout << "\"Equality\": |\n"; - print_csc(A_->m, A_->n, A_->p, A_->i, A_->x, fout.rdbuf()); + print_csc(A_->m, A_->n, A_->p, A_->i, A_->x, fout.rdbuf(), " ", + "%%MatrixMarket matrix coordinate real general"); } if(b_){ @@ -259,7 +260,8 @@ namespace format{ if(C_){ fout << "\"Inequality\": |\n"; - print_csc(C_->m, C_->n, C_->p, C_->i, C_->x, fout.rdbuf()); + print_csc(C_->m, C_->n, C_->p, C_->i, C_->x, fout.rdbuf(), " ", + "%%MatrixMarket matrix coordinate real general"); } if(l_){