Skip to content

Commit

Permalink
fixup! Impl para migration method guaranteeing infection
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Nov 15, 2023
1 parent f8e0559 commit d7b9d1b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion avida-core/source/main/cPopulation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,6 @@ bool cPopulation::ActivateParasite(cOrganism* host, Systematics::UnitPtr parent,
&& m_world->GetRandom().P(m_world->GetConfig().DEMES_PARASITE_MIGRATION_RATE.Get())
){
cDeme& deme = GetDeme(m_world->GetMigrationMatrix().GetProbabilisticDemeID(host_cell.GetDemeID(), m_world->GetRandom(),true));
deme.
const int infection_mode = m_world->GetConfig().DEMES_PARASITE_MIGRATION_TARGET_SELECTION_METHOD.Get();
if (infection_mode == 0) {
// Implementation #1 - Picks randomly of ALL cells in to-deme and then finds if the one it chose was occupied
Expand Down

0 comments on commit d7b9d1b

Please sign in to comment.