Skip to content

Commit

Permalink
bugfix (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-murphy committed Jun 26, 2024
1 parent 18139ef commit 64a19fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mcmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void MCMC::sample(int step)
chain.update_mean_coi(params.burnin + step);

if ((params.thin == 0 or step % params.thin == 0) and
chain.get_hot())
(chain.get_hot() or chains.size() == 1))
{
for (size_t ii = 0; ii < genotyping_data.num_loci; ++ii)
{
Expand Down

0 comments on commit 64a19fc

Please sign in to comment.