From b4327e1d2d0610d135b9072b402d8455633e0f36 Mon Sep 17 00:00:00 2001 From: Repouskos Panagiotis Date: Mon, 23 Mar 2020 15:35:07 +0200 Subject: [PATCH] fix bug Remove const from function parameter --- include/samplers/gaussian_samplers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/samplers/gaussian_samplers.h b/include/samplers/gaussian_samplers.h index 607e240fe..6c8b7acf5 100644 --- a/include/samplers/gaussian_samplers.h +++ b/include/samplers/gaussian_samplers.h @@ -60,7 +60,7 @@ NT get_max_coord(const NT &l, const NT &u, const NT &a_i) { // Pick a point from the distribution exp(-a_i||x||^2) on the chord template -void rand_exp_range(Point const &lower, Point const & upper, const NT &a_i, Point &p, Parameters const& var) { +void rand_exp_range(Point &lower, Point & upper, const NT &a_i, Point &p, Parameters const& var) { typedef typename Parameters::RNGType RNGType; NT r, r_val, fn; const NT tol = 0.00000001;