From 82a0c3bc47acc6aed6182b281bd5e22d08f8ef7b Mon Sep 17 00:00:00 2001 From: Matt Graham Date: Mon, 17 May 2021 14:21:31 +0100 Subject: [PATCH] Fixing computation of indices in malaria cure event (#272) --- src/tlo/methods/malaria.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tlo/methods/malaria.py b/src/tlo/methods/malaria.py index 30447bf726..a901e79166 100644 --- a/src/tlo/methods/malaria.py +++ b/src/tlo/methods/malaria.py @@ -1196,7 +1196,7 @@ def apply(self, population): (df.ma_date_tx < (self.sim.date - DateOffset(days=7)))] # clear symptoms - all_cured = (clinical_inf + severe_inf) if len(severe_inf) else clinical_inf + all_cured = clinical_inf.union(severe_inf) if len(severe_inf) else clinical_inf for idx in all_cured: self.sim.modules["SymptomManager"].clear_symptoms(