Skip to content
Snippets Groups Projects
Commit 1d31685d authored by Augustin Wenger's avatar Augustin Wenger
Browse files

Computes nbptr only when not computing deciles

parent 5c496423
No related branches found
No related tags found
1 merge request!20Nbptr in results
......@@ -216,6 +216,7 @@ def compare(period: str, dictionnaire_simulations, compute_deciles=True):
impots_par_reforme["rfr"] = dictionnaire_simulations[nom_simulation][
0
].calculate("rfr", period)
else: # Evitons de calculer le nbptr quand on fait toute la population
nbptr_par_reforme[nom_simulation] = dictionnaire_simulations[nom_simulation][
0
].calculate("nbptr", period)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment