This problem has me baffled since it is a simple for loop with variables defined within the block
int Simulation::updateCycle(int method) { if (method == LIST