Used cached method to calculate background concentration
This commit is contained in:
parent
31bb648d1c
commit
7926f55872
1 changed files with 1 additions and 1 deletions
|
|
@ -1032,7 +1032,7 @@ class ConcentrationModel:
|
|||
Note that time is not vectorised. You can only pass a single float
|
||||
to this method.
|
||||
"""
|
||||
return (self._normed_concentration(time) *
|
||||
return (self._normed_concentration_cached(time) *
|
||||
self.infected.emission_rate_when_present())
|
||||
|
||||
@method_cache
|
||||
|
|
|
|||
Loading…
Reference in a new issue