Skip to content

Commit

Permalink
Merge pull request #428 from ozmorph/clang_error_fixes
Browse files Browse the repository at this point in the history
Allow Clang 9 To Build Master
  • Loading branch information
matt-gretton-dann authored Jun 25, 2020
2 parents bcb429b + 820d43c commit 0d18bfd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1353,8 +1353,6 @@ static void SusceptibleToRecovered(int cellIndex)

// assert values are non-negative
assert(Cells[cellIndex].S >= 0);
assert(Cells[cellIndex].latent >= 0);
assert(Cells[cellIndex].infected >= 0);
}

static void SusceptibleToLatent(int cellIndex)
Expand All @@ -1365,7 +1363,6 @@ static void SusceptibleToLatent(int cellIndex)

// assert values are non-negative
assert(Cells[cellIndex].S >= 0);
assert(Cells[cellIndex].latent >= 0);
}


Expand All @@ -1377,7 +1374,6 @@ static void LatentToInfectious(int cellIndex)

// assert values are non-negative
assert(Cells[cellIndex].L >= 0);
assert(Cells[cellIndex].infected >= 0);

}

Expand Down

0 comments on commit 0d18bfd

Please sign in to comment.