From ca46d5f3f4a2d05022c1319150103100cbd5e356 Mon Sep 17 00:00:00 2001 From: Richard Evans Date: Wed, 18 Sep 2024 14:28:18 -0400 Subject: [PATCH] Black formatted TPI.py --- ogcore/TPI.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ogcore/TPI.py b/ogcore/TPI.py index 0eab46d1c..8b9b0f736 100644 --- a/ogcore/TPI.py +++ b/ogcore/TPI.py @@ -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")