Skip to content

Commit

Permalink
Fix issue causing invalid output from age distribution code.
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffw0 committed Apr 7, 2020
1 parent 57a09e7 commit 3d4e9a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SetupModel.cpp
Expand Up @@ -1179,7 +1179,7 @@ void SetupPopulation(char* DensityFile, char* SchoolFile, char* RegDemogFile)
}

// make age adjustments to population
#pragma omp parallel for private(tn,j,i,k,m) schedule(static,1)
#pragma omp parallel for private(tn,j,i,k,m,s) schedule(static,1)
for (tn = 0; tn < P.NumThreads; tn++)
for (i = tn; i < P.N; i += P.NumThreads)
{
Expand Down

0 comments on commit 3d4e9a4

Please sign in to comment.