Skip to content

Commit

Permalink
Removed redefinition of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhofmeyr committed Oct 31, 2024
1 parent 011831f commit 0bee8af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/CensusData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,6 @@ void CensusData::assignTeachersAndWorkgroup (AgentContainer& pc, const int workg
// skip non-workers
if (workgroup_ptr[ip] == 0) return;

int num_school_types = SchoolCensusIDType::total - 1;
int choice = Random_int(num_school_types, engine);

for (int k = 0; k < num_school_types; k++) {
Expand Down

0 comments on commit 0bee8af

Please sign in to comment.