From f300b0a8841460fb26929c6a466b40d04e082cae Mon Sep 17 00:00:00 2001 From: Colm Talbot <colm.talbot@ligo.org> Date: Fri, 1 Jun 2018 13:56:23 -0700 Subject: [PATCH] typo fix --- tupak/likelihood.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tupak/likelihood.py b/tupak/likelihood.py index 9b7a73d15..1e7922305 100644 --- a/tupak/likelihood.py +++ b/tupak/likelihood.py @@ -198,7 +198,7 @@ class GravitationalWaveTransient(Likelihood): return self.log_likelihood_ratio() + self.noise_log_likelihood() def setup_distance_marginalization(self): - if 'fluminosity_distance' not in self.prior.keys(): + if 'luminosity_distance' not in self.prior.keys(): logging.info('No prior provided for distance, using default prior.') self.prior['luminosity_distance'] = tupak.prior.create_default_prior('luminosity_distance') self.distance_array = np.linspace(self.prior['luminosity_distance'].minimum, -- GitLab