Skip to content

Commit

Permalink
fixing mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nmounet committed Oct 3, 2023
1 parent 1a3855d commit e6c5f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caimira/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ def _normed_concentration_limit(self, time: float) -> _VectorisedFloat:
invRR[RR == 0.] = np.nan
invRR[RR != 0.] = 1. / RR[RR != 0.]
else:
invRR = np.nan if RR == 0. else 1. / RR
invRR = np.nan if RR == 0. else 1. / RR # type: ignore

return (self.population.people_present(time) * invRR / V +
self.min_background_concentration()/self.normalization_factor())
Expand Down

0 comments on commit e6c5f70

Please sign in to comment.