Skip to content

Commit

Permalink
Made change on line 38 of the weekly_hours_worked file.
Browse files Browse the repository at this point in the history
  • Loading branch information
SonaliBedge committed Jan 23, 2025
1 parent b931c11 commit da20b31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def formula(person, period, parameters):
if (lsr != 0).any():
income_effect = person("income_elasticity_lsr", period)
else:
income_effect = 0
income_effect = np.zeros_like(original)

Check warning on line 38 in policyengine_us/variables/household/income/person/weekly_hours_worked.py

View check run for this annotation

Codecov / codecov/patch

policyengine_us/variables/household/income/person/weekly_hours_worked.py#L38

Added line #L38 was not covered by tests
original_emp = person("employment_income_before_lsr", period)
original_self_emp = person("self_employment_income_before_lsr", period)
original_earnings = original_emp + original_self_emp
Expand Down

0 comments on commit da20b31

Please sign in to comment.