Skip to content

Commit

Permalink
header problem fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshmi committed Oct 2, 2020
1 parent 9b3e7b1 commit d85b5d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions smp_format.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_){
Expand All @@ -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_){
Expand Down

0 comments on commit d85b5d4

Please sign in to comment.