Skip to content

Commit

Permalink
Remove final newline from matrix output
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Roberts committed Jun 29, 2024
1 parent 50f32bb commit 84024ab
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/sundials/sundials_direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ void SUNDlsMat_PrintMat(SUNDlsMat A, FILE* outfile)
}
fprintf(outfile, "\n");
}
fprintf(outfile, "\n");

break;

Expand All @@ -346,7 +345,6 @@ void SUNDlsMat_PrintMat(SUNDlsMat A, FILE* outfile)
}
fprintf(outfile, "\n");
}
fprintf(outfile, "\n");

break;
}
Expand Down
1 change: 0 additions & 1 deletion src/sunmatrix/band/sunmatrix_band.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ void SUNBandMatrix_Print(SUNMatrix A, FILE* outfile)
}
fprintf(outfile, "\n");
}
fprintf(outfile, "\n");
return;
}

Expand Down
1 change: 0 additions & 1 deletion src/sunmatrix/dense/sunmatrix_dense.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ void SUNDenseMatrix_Print(SUNMatrix A, FILE* outfile)
}
fprintf(outfile, "\n");
}
fprintf(outfile, "\n");
return;
}

Expand Down
1 change: 0 additions & 1 deletion src/sunmatrix/sparse/sunmatrix_sparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ void SUNSparseMatrix_Print(SUNMatrix A, FILE* outfile)
}
fprintf(outfile, "\n");
}
fprintf(outfile, "\n");
return;
}

Expand Down

0 comments on commit 84024ab

Please sign in to comment.