From c26cdf46c76054dc3413038cbf71ef937f88800c Mon Sep 17 00:00:00 2001 From: Colm Talbot <colm.talbot@ligo.org> Date: Fri, 18 Dec 2020 15:23:38 -0600 Subject: [PATCH] Use double for cpnest parameter --- bilby/core/sampler/cpnest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bilby/core/sampler/cpnest.py b/bilby/core/sampler/cpnest.py index 25183bd07..544ec3326 100644 --- a/bilby/core/sampler/cpnest.py +++ b/bilby/core/sampler/cpnest.py @@ -89,8 +89,8 @@ class Cpnest(NestedSampler): prior_samples = self.priors.sample() self._update_bounds() point = LivePoint( - self.names, array.array( - 'f', [prior_samples[name] for name in self.names])) + self.names, array.array('d', [prior_samples[name] for name in self.names]) + ) return point self._resolve_proposal_functions() -- GitLab