diff --git a/squiggle_more.c b/squiggle_more.c index ecb964a..ceeafd9 100644 --- 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);