From 6ebe3d0004ac8b19cf4a6fcfc3b2fba16bdc6b97 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 11 Feb 2021 15:31:16 +0530 Subject: Pass extent-oracle-t as pointer. * include/extent-sampling.h (volume, volume_window, integral, volume_cone, volume_experiment): Pass extent_oracle_t as pointer. * src/extent-sampling.sc: Likewise. --- include/extent-sampling.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/extent-sampling.h b/include/extent-sampling.h index fd11bc4..27314a3 100644 --- a/include/extent-sampling.h +++ b/include/extent-sampling.h @@ -15,27 +15,27 @@ typedef double (*integrand_t) (double, const gsl_vector*); void init_random (void); double volume -(extent_oracle_t extent_oracle, double true_volume, +(extent_oracle_t *extent_oracle, double true_volume, const gsl_rng* r, unsigned int dimension, double rtol, gsl_rstat_workspace* stats); double volume_window -(extent_oracle_t extent_oracle, double true_volume, +(extent_oracle_t *extent_oracle, double true_volume, const gsl_rng* r, unsigned int dimension, double rtol, unsigned int* number_of_samples); double integral -(integrand_t integrand, extent_oracle_t extent_oracle, double true_integral, +(integrand_t integrand, extent_oracle_t *extent_oracle, double true_integral, const gsl_rng* r, unsigned int dimension, double rtol, gsl_rstat_workspace* stats); double volume_cone -(extent_oracle_t extent_oracle, const gsl_rng* r, +(extent_oracle_t *extent_oracle, const gsl_rng* r, const gsl_vector* mean, double omega_min, double omega_max, unsigned int number_of_samples, double* variance); double volume_experiment -(extent_oracle_t extent_oracle, const gsl_rng* r, +(extent_oracle_t *extent_oracle, const gsl_rng* r, const gsl_vector* mean, unsigned int samples_per_cone, double solid_angle_factor, double solid_angle_threshold_exponent_factor, unsigned int* number_of_samples); -- cgit v1.2.3