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

Fix naming issue in HP likelihood

parent 92479e07
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -267,7 +267,7 @@ class HyperparameterLikelihood(Likelihood):
logging.info("Using probabilities in likelihood")
self.log_likelihood = self.log_likelihood_using_prob
def log_likelihood_using_prob(self):
def log_likelihood_using_lnprob(self):
L = []
self.hyper_prior.__dict__.update(self.parameters)
for samp in self.samples:
......@@ -275,7 +275,7 @@ class HyperparameterLikelihood(Likelihood):
L.append(logsumexp(f))
return np.sum(L)
def log_likelihood_using_lnprob(self):
def log_likelihood_using_prob(self):
L = []
self.hyper_prior.__dict__.update(self.parameters)
for samp in self.samples:
......
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