rename variable

This commit is contained in:
NunoSempere 2024-01-30 16:24:56 +01:00
parent d70296f230
commit b548d50deb
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ void array_print_stats(double xs[], int n){
}
void print_histogram(double* xs, int n_samples, int n_bins) {
void array_print_histogram(double* xs, int n_samples, int n_bins) {
// Generated with the help of an llm; there might be subtle off-by-one errors
// interface inspired by <https://github.com/red-data-tools/YouPlot>
if (n_bins <= 0) {

View File

@ -13,7 +13,7 @@ typedef struct ci_t {
ci array_get_ci(ci interval, double* xs, int n);
ci array_get_90_ci(double xs[], int n);
void array_print_stats(double xs[], int n);
void print_histogram(double* xs, int n_samples, int n_bins);
void array_print_histogram(double* xs, int n_samples, int n_bins);
// Deprecated: get confidence intervals directly from samplers
ci sampler_get_ci(ci interval, double (*sampler)(uint64_t*), int n, uint64_t* seed);