sim.n in vaccinate not working
@@ -1328,7 +1328,7 @@ class vaccinate(Intervention):
if sim.t >= np.min(self.days):
# Determine who gets first dose of vaccine today
- vacc_probs = np.zeros(sim.n)
+ vacc_probs = np.zeros(sim.pars['pop_size'])
if self.subtarget is not None:
subtarget_inds, subtarget_vals = get_subtargets(self.subtarget, sim)
vacc_probs[subtarget_inds] = subtarget_vals # People being explicitly subtargeted
