Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
m-murphy committed Jun 28, 2024
1 parent 85cd88b commit 2e4a9ed
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/mcmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,6 @@ void MCMC::adapt_temp()
}
}

// // check if the new gradient is monotonically increasing
// for (size_t i = 1; i < new_temp_gradient.size(); i++)
// {
// if (new_temp_gradient[i] < new_temp_gradient[i - 1])
// {
// return;
// }
// }

// update the temperatures using the new gradient
chains[swap_indices[0]].set_hot(true);
for (size_t i = 1; i < chains.size() - 1; i++)
Expand Down

0 comments on commit 2e4a9ed

Please sign in to comment.