Skip to content
Snippets Groups Projects
Commit f65c3654 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'Fix_gaussian_example' into 'master'

Fix gaussian example

See merge request !469
parents 0b4b35b9 5253ba86
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,9 @@ class SimpleGaussianLikelihood(bilby.Likelihood):
data: array_like
The data to analyse
"""
bilby.Likelihood.__init__(parameters={'mu': None, 'sigma': None})
self.data = data
self.N = len(data)
self.parameters = {'mu': None, 'sigma': None}
def log_likelihood(self):
mu = self.parameters['mu']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment