diff --git a/src/sundials/sundials_utils.h b/src/sundials/sundials_utils.h index 028759c1e1..9802e5347a 100644 --- a/src/sundials/sundials_utils.h +++ b/src/sundials/sundials_utils.h @@ -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"); }