If the lambda_external parameter is supplied and is non-zero, it will still only be evaluated in the infection functions if there are > 0 infectives in the population, because of the check that only calculates if there are some infectives. We should also grab the importation rate lambda outside of that check and go ahead and calculate if there are > 0 infectives or a non-zero external FoI.
If the
lambda_external
parameter is supplied and is non-zero, it will still only be evaluated in the infection functions if there are > 0 infectives in the population, because of the check that only calculates if there are some infectives. We should also grab the importation rate lambda outside of that check and go ahead and calculate if there are > 0 infectives or a non-zero external FoI.