Skip to content

Commit

Permalink
address #334
Browse files Browse the repository at this point in the history
  • Loading branch information
sblunt committed Feb 28, 2023
1 parent c4d5e5d commit ad28526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbitize/priors.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def compute_lnprob(self, element_array):
corresponding to the probability of drawing each of the numbers
in the input `element_array`.
"""
lnprob = -0.5*np.log(2.*np.pi*self.sigma) - 0.5*((element_array - self.mu) / self.sigma)**2
lnprob = - 0.5*((element_array - self.mu) / self.sigma)**2

if self.no_negatives:

Expand Down

0 comments on commit ad28526

Please sign in to comment.