Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Aug 13, 2024
1 parent 6490c1f commit 851c361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ogcore/TPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def run_TPI(p, client=None):
if p.baseline_spending:
I_g[: p.T] = Ig_baseline[: p.T]
else:
I_g = fiscal.get_I_g(Y[:p.T], p.alpha_I[:p.T])
I_g = fiscal.get_I_g(Y[: p.T], p.alpha_I[: p.T])
if p.baseline:
K_g0 = p.initial_Kg_ratio * Y[0]
else:
Expand Down Expand Up @@ -945,7 +945,7 @@ def run_TPI(p, client=None):
B[: p.T], K_demand_open_vec.sum(-1), D_d[: p.T], p.zeta_K[: p.T]
)
if not p.baseline_spending:
I_g = fiscal.get_I_g(Y[:p.T], p.alpha_I[:p.T])
I_g = fiscal.get_I_g(Y[: p.T], p.alpha_I[: p.T])
if p.baseline:
K_g0 = p.initial_Kg_ratio * Y[0]
K_g = fiscal.get_K_g(K_g0, I_g, p, "TPI")
Expand Down

0 comments on commit 851c361

Please sign in to comment.