fix: display histogram upper bound correctly
This commit is contained in:
parent
9917941048
commit
06109a0af1
|
@ -397,7 +397,7 @@ void array_print_90_ci_histogram(double* xs, int n_samples, int n_bins)
|
||||||
}
|
}
|
||||||
printf(" %d\n", bins[i]);
|
printf(" %d\n", bins[i]);
|
||||||
}
|
}
|
||||||
printf("(%*.*f, %*s): ", 4 + decimalPlaces, decimalPlaces, min_value, 6 + decimalPlaces, "+∞");
|
printf("(%*.*f, %*s): ", 4 + decimalPlaces, decimalPlaces, max_value, 6 + decimalPlaces, "+∞");
|
||||||
int marks_above_max = (int)(above_max * scale);
|
int marks_above_max = (int)(above_max * scale);
|
||||||
for (int j = 0; j < marks_above_max; j++) {
|
for (int j = 0; j < marks_above_max; j++) {
|
||||||
printf("█");
|
printf("█");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user