File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -857,7 +857,7 @@ def apply(self, person_id):
857
857
# if draw -> death
858
858
if prob < self .module .parameters ['treatment_adjustment' ]:
859
859
self .sim .modules ['Demography' ].do_death (
860
- person_id = person_id , cause = self .cause , originating_module = self .module )
860
+ individual_id = person_id , cause = self .cause , originating_module = self .module )
861
861
862
862
df .at [person_id , 'ma_date_death' ] = self .sim .date
863
863
@@ -875,7 +875,7 @@ def apply(self, person_id):
875
875
# if not on treatment - death will occur
876
876
else :
877
877
self .sim .modules ['Demography' ].do_death (
878
- person_id = person_id , cause = self .cause , originating_module = self .module )
878
+ individual_id = person_id , cause = self .cause , originating_module = self .module )
879
879
880
880
df .at [person_id , 'ma_date_death' ] = self .sim .date
881
881
You can’t perform that action at this time.
0 commit comments