Skip to content

Commit

Permalink
Fix missing arguments in PTswap
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDJohnson committed Oct 27, 2022
1 parent a27ab4e commit c1d29a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PTMCMCSampler/PTMCMCSampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def PTMCMCOneStep(self, p0, lnlike0, lnprob0, iter):
self.jumpDict[jump_name][1] += 1
# temperature swap
if iter % self.Tskip == 0 and self.nchain > 1:
p0, lnlike0, lnprob0 = self.PTswap(p0, lnlike0)
p0, lnlike0, lnprob0 = self.PTswap(p0, lnlike0, lnprob0, iter)

self.updateChains(p0, lnlike0, lnprob0, iter)

Expand Down

0 comments on commit c1d29a6

Please sign in to comment.