Skip to content

Commit

Permalink
clean up lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Jan 19, 2024
1 parent 87a1327 commit 60b8a43
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions ogcore/TPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ def twist_doughnut(
p_tilde_s = p_tilde[t : t + length]
n_s = n_guess
chi_n_s = p.chi_n[-length:]
e_s = np.diag(p.e[t : t + p.S, :, j], max(p.S - length, 0))
rho_s = np.diag(p.rho[t : t + p.S, :], max(p.S - length, 0))

error1 = household.FOC_savings(
Expand All @@ -274,7 +273,6 @@ def twist_doughnut(
tr,
ubi,
theta,
e_s,
rho_s,
etr_params,
mtry_params,
Expand All @@ -297,7 +295,6 @@ def twist_doughnut(
ubi,
theta,
chi_n_s,
e_s,
etr_params,
mtrx_params,
t,
Expand Down
1 change: 0 additions & 1 deletion ogcore/tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ def income_tax_liab(r, w, b, n, factor, t, j, method, e, etr_params, p):
capital_income_tax_compliance_rate = (
p.capital_income_tax_noncompliance_rate[-1, :]
)

income = r * b + w * e * n
labor_income = w * e * n
T_I = (
Expand Down
1 change: 0 additions & 1 deletion tests/test_TPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ def test_twist_doughnut(file_inputs, file_outputs):
initial_b,
p,
)
print("t = ", t, s, " p.S = ", p.S, p.rho.shape)
test_list = TPI.twist_doughnut(*input_tuple)
expected_list = utils.safe_read_pickle(file_outputs)
assert np.allclose(np.array(test_list), np.array(expected_list), atol=1e-5)
Expand Down

0 comments on commit 60b8a43

Please sign in to comment.