Skip to content

Commit

Permalink
Merge pull request #322 from sblunt/chi2-unittest-hotfix
Browse files Browse the repository at this point in the history
hotfix for occasionally failing chi2 unit test
  • Loading branch information
sblunt committed Jun 1, 2022
2 parents 0c35e31 + 2582c5a commit 815ea92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_chi2_lnlike.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_log_vs_standard():
#initiate driver with log chi2
myDriver_log = orbitize.driver.Driver('{}/GJ504.csv'.format(orbitize.DATADIR), 'OFTI', 1, 1.22, 56.95, mass_err=0.08, plx_err=0.26, chi2_type = 'log')
s_log = myDriver_log.sampler
orbits = s_log.run_sampler(3000)
orbits = s_log.run_sampler(10000)

#take mean of result objects
myResults_standard = np.mean(s_standard.results.post,axis=0)
Expand Down

0 comments on commit 815ea92

Please sign in to comment.