diff --git a/squiggle_more.c b/squiggle_more.c index 4cd4461..a42352b 100644 --- a/squiggle_more.c +++ b/squiggle_more.c @@ -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 if (n_bins <= 0) { diff --git a/squiggle_more.h b/squiggle_more.h index 644c4dc..07f07a1 100644 --- a/squiggle_more.h +++ b/squiggle_more.h @@ -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);