Skip to content

Commit

Permalink
Black formatted TPI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rickecon committed Sep 18, 2024
1 parent 3714290 commit ca46d5f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ogcore/TPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1274,8 +1274,13 @@ def run_TPI(p, client=None):
net_capital_outflows_vec = np.zeros((p.T, p.M))
net_capital_outflows_vec[:, -1] = net_capital_outflows[: p.T]
RC_error = aggr.resource_constraint(
Y_vec, C_m_vec, G_vec, I_d_vec, I_g_vec, net_capital_outflows_vec,
RM[: p.T]
Y_vec,
C_m_vec,
G_vec,
I_d_vec,
I_g_vec,
net_capital_outflows_vec,
RM[: p.T],
)
# Compute total investment (not just domestic)
I_total = aggr.get_I(None, K[1 : p.T + 1], K[: p.T], p, "total_tpi")
Expand Down

0 comments on commit ca46d5f

Please sign in to comment.