Skip to content

Commit

Permalink
fixed typo in priors
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle committed Sep 30, 2017
1 parent be4c9f5 commit 396cefc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ExoSOFT/tools/priors.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def inc_prior_fn(self, inc):
if (self.inc_prior == True) or (self.inc_prior == 'sin'):
ret = np.abs(np.sin(inc_rad)) / np.abs(np.cos(mn_rad)-np.cos(mx_rad))
elif self.inc_prior == 'cos':
ret = np.abs(np.cos(inc_rad)) / np.abs(np.cos(mn_rad)-np.cos(mx_rad)))
ret = np.abs(np.cos(inc_rad)) / np.abs(np.cos(mn_rad)-np.cos(mx_rad))
#if ret==0: ret=-np.inf
return ret

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def rd(filename):

setup(
name='ExoSOFT',
version="0.3.3",
version="0.3.4",
author='Kyle Mede',
author_email = 'kylemede@gmail.com',
url = 'https://github.com/kylemede/ExoSOFT',
Expand Down

0 comments on commit 396cefc

Please sign in to comment.