commit 47c3e5683a217f0f2930e533fa5d4be7d6c3580a
parent 1e061095d92a209ebe075f2ab960868a2c70966b
Author: NunoSempere <nuno.sempere@protonmail.com>
Date: Wed, 31 Jan 2024 15:31:51 +0100
fix: alignment
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/squiggle_more.c b/squiggle_more.c
@@ -366,7 +366,7 @@ void array_print_90_ci_histogram(double* xs, int n_samples, int n_bins){
decimalPlaces = -magnitude;
decimalPlaces = decimalPlaces > 10 ? 10 : decimalPlaces;
}
- printf( " (-∞, %*.*f): %d\n", 4+decimalPlaces, decimalPlaces, min_value, below_min);
+ printf( " ( -∞, %*.*f): %d\n", 4+decimalPlaces, decimalPlaces, min_value, below_min);
for (int i = 0; i < n_bins; i++) {
double bin_start = min_value + i * bin_width;
double bin_end = bin_start + bin_width;
@@ -384,7 +384,7 @@ void array_print_90_ci_histogram(double* xs, int n_samples, int n_bins){
}
printf(" %d\n", bins[i]);
}
- printf( " (%*.*f, +∞): %d\n", 4+decimalPlaces, decimalPlaces, max_value, above_max);
+ printf( " (%*.*f, +∞): %d\n", 4+decimalPlaces, decimalPlaces, max_value, above_max);
// Free the allocated memory for bins
free(bins);