Skip to content

Commit

Permalink
Fixed bug with dynesty in the object-oriented version of juliet.
Browse files Browse the repository at this point in the history
  • Loading branch information
nespinoza committed Sep 3, 2019
1 parent 50a6d36 commit f6ca194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juliet/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ def prior(self, cube, ndim = None, nparams = None):
self.data.priors[pname]['hyperparameters'])
pcounter += 1
if self.use_dynesty:
return self.transformed_priors[pcounter]
return self.transformed_priors

def loglike(self, cube, ndim=None, nparams=None):
# Evaluate the joint log-likelihood. For this, first extract all inputs:
Expand Down

0 comments on commit f6ca194

Please sign in to comment.