fix printf template string

This commit is contained in:
NunoSempere 2024-02-08 15:42:17 +01:00
parent ab28b8a45b
commit df2a563e39

View File

@ -219,9 +219,9 @@ void array_print_stats(double xs[], int n)
"| Mean | %lf |\n" "| Mean | %lf |\n"
"| Median | %lf |\n" "| Median | %lf |\n"
"| Std | %lf |\n" "| Std | %lf |\n"
"| 90% confidence interval | %lf to %lf |\n" "| 90%% confidence interval | %lf to %lf |\n"
"| 80% confidence interval | %lf to %lf |\n" "| 80%% confidence interval | %lf to %lf |\n"
"| 50% confidence interval | %lf to %lf |\n" "| 50%% confidence interval | %lf to %lf |\n",
mean, median, std, ci_90.low, ci_90.high, ci_80.low, ci_80.high, ci_50.low, ci_50.high); mean, median, std, ci_90.low, ci_90.high, ci_80.low, ci_80.high, ci_50.low, ci_50.high);
} }