Skip to content

Commit

Permalink
Remove debugging cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Nov 15, 2023
1 parent 665dc58 commit c7a802e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions avida-core/source/actions/PopulationActions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5297,7 +5297,6 @@ class cActionKillDemesHighestParasiteLoad : public cAction
);
const int kill_quota = std::min(binomial_draw, m_killmax);
if (kill_quota == 0) return;
std::cout << "kill quota " << kill_quota << std::endl;

std::vector<double> top_n(kill_quota);
const auto partial_sort_end = std::partial_sort_copy(
Expand All @@ -5306,12 +5305,10 @@ class cActionKillDemesHighestParasiteLoad : public cAction
std::greater<int>()
);
const auto kill_thresh = *std::prev(partial_sort_end);
std::cout << "kill thresh " << kill_thresh << std::endl;
for (int d = 0; d < num_demes; d++)
{
if (parasite_loads[d] and parasite_loads[d] >= kill_thresh)
{
std::cout << "bump" << std::endl;
cDeme &deme = pop.GetDeme(d);
deme.KillAll(ctx);
}
Expand Down

0 comments on commit c7a802e

Please sign in to comment.