Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erreur de division par 0 - OF #4566

Closed
Shamzic opened this issue Aug 22, 2024 · 1 comment · Fixed by openfisca/openfisca-paris#164
Closed

Erreur de division par 0 - OF #4566

Shamzic opened this issue Aug 22, 2024 · 1 comment · Fixed by openfisca/openfisca-paris#164
Assignees

Comments

@Shamzic
Copy link
Contributor

Shamzic commented Aug 22, 2024

/Users/jeremy.pastouret/Sites/beta.gouv/aides-jeunes/.venv/lib/python3.10/site-packages/openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_non_salarie.py:199: RuntimeWarning: divide by zero encountered in divide
  - (0.007 * (assiette_pss > 5) * ((assiette_pss - 5) / assiette_pss))
/Users/jeremy.pastouret/Sites/beta.gouv/aides-jeunes/.venv/lib/python3.10/site-packages/openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_non_salarie.py:199: RuntimeWarning: invalid value encountered in multiply
  - (0.007 * (assiette_pss > 5) * ((assiette_pss - 5) / assiette_pss))
/Users/jeremy.pastouret/Sites/beta.gouv/aides-jeunes/.venv/lib/python3.10/site-packages/openfisca_paris/paris.py:229: RuntimeWarning: divide by zero encountered in divide
  return (loyer + charges_forfaitaires_logement - aide_logement) / ressources

Todo

Investiguer Openfisca-Paris pour corriger le problème (corrigé sur Openfisca France) ==> openfisca/openfisca-france#2339

@Shamzic Shamzic converted this from a draft issue Aug 22, 2024
@jenovateurs jenovateurs self-assigned this Aug 26, 2024
@jenovateurs
Copy link
Contributor

Après investigation de la correction du problème, un autre ticket prérequis est apparu… #4574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Terminé (17/10/2024)
Development

Successfully merging a pull request may close this issue.

2 participants