[Avida-SVN] r2524 - branches/jobScheduling/source/main
beckma24 at myxo.css.msu.edu
beckma24 at myxo.css.msu.edu
Mon Apr 7 14:15:09 PDT 2008
Author: beckma24
Date: 2008-04-07 17:15:09 -0400 (Mon, 07 Apr 2008)
New Revision: 2524
Modified:
branches/jobScheduling/source/main/cPopulationInterface.cc
Log:
minor changes
Modified: branches/jobScheduling/source/main/cPopulationInterface.cc
===================================================================
--- branches/jobScheduling/source/main/cPopulationInterface.cc 2008-04-07 20:55:51 UTC (rev 2523)
+++ branches/jobScheduling/source/main/cPopulationInterface.cc 2008-04-07 21:15:09 UTC (rev 2524)
@@ -71,7 +71,7 @@
bool cPopulationInterface::IsNeighborCellOccupied() {
cPopulationCell & cell = m_world->GetPopulation().GetCell(m_cell_id);
- return cell.IsOccupied();
+ return cell.ConnectionList().GetFirst()->IsOccupied();
}
int cPopulationInterface::GetNumNeighbors()
More information about the Avida-cvs
mailing list