Skip to content

Commit

Permalink
Update src/sundials/sundials_utils.h
Browse files Browse the repository at this point in the history
Co-authored-by: David Gardner <[email protected]>
  • Loading branch information
Steven-Roberts and gardner48 authored Jun 28, 2024
1 parent 50f32bb commit fe7f76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sundials/sundials_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static inline void sunfprintf_long_array(FILE* fp, SUNOutputFormat fmt,

if (fmt == SUN_OUTPUTFORMAT_TABLE)
{
fprintf(fp, "%-*s = %ld\n", SUN_TABLE_WIDTH, name, value[0]);
fprintf(fp, "%-*s = %ld", SUN_TABLE_WIDTH, name, value[0]);
for (size_t i = 1; i < count; i++) { fprintf(fp, ", %ld", value[i]); }
fprintf(fp, "\n");
}
Expand Down

0 comments on commit fe7f76d

Please sign in to comment.