From 7a3428455e67a42bb75af15ca8d4f46c09cc3187 Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Tue, 20 Dec 2022 17:19:36 +0100 Subject: [PATCH] Typo --- openfisca_france/model/prestations/logement_social.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfisca_france/model/prestations/logement_social.py b/openfisca_france/model/prestations/logement_social.py index 1049300e174..6b04c9293a9 100644 --- a/openfisca_france/model/prestations/logement_social.py +++ b/openfisca_france/model/prestations/logement_social.py @@ -172,7 +172,7 @@ class logement_social_eligible(Variable): def formula_2017(famille, period, parameters): parent_majeur = famille.any(famille.members('majeur', period), role = Famille.PARENT) logement_social_plafond_ressources = famille('logement_social_plafond_ressources', period) - rfr_n0 = famille.demandeur.foyer_fiscal('rfr', Period(('year', period.start.offset('first-of', 'year')), 1)) + rfr_n0 = famille.demandeur.foyer_fiscal('rfr', Period(('year', period.start.offset('first-of', 'year'), 1))) rfr_n1 = famille.demandeur.foyer_fiscal('rfr', period.last_year) rfr_n2 = famille.demandeur.foyer_fiscal('rfr', period.n_2)