PolicyEngine / policyengine-us

The PolicyEngine US Python package contains a rules engine of the US tax-benefit system, and microdata generation for microsimulation analysis.
https://policyengine.org/us
GNU Affero General Public License v3.0
100 stars 174 forks source link

Warning in nyc_cdcc_share_qualifying_childcare_expenses.py module #2495

Closed martinholmer closed 1 year ago

martinholmer commented 1 year ago

@leogoldman, Looks as if you contributed the line of NYC code that is generating the following warning when the tests run on GitHub. Do you have ideas about how to make the warning go away?

policyengine_us/tests/microsimulation/test_microsim.py::test_microsim_runs_cps
  /home/runner/work/policyengine-us/policyengine-us/policyengine_us/variables/gov/local/ny/nyc/tax/income/credits/cdcc/nyc_cdcc_share_qualifying_childcare_expenses.py:30: RuntimeWarning: invalid value encountered in true_divide
    childcare_expenses_for_children_under_four
martinholmer commented 1 year ago

Issue #2495 has been resolved by the merge of pull request #2549.