Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Aug 5, 2024
1 parent e1ab01e commit 64d690c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ogcore/TPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,12 @@ def run_TPI(p, client=None):
D_f = np.zeros(p.T + p.S)
else:
if p.baseline_spending:
TR = np.concatenate((TRbaseline[:p.T], np.ones(p.S) * ss_vars["TR_ss"]))
G = np.concatenate((Gbaseline[:p.T], np.ones(p.S) * ss_vars["Gss"]))
TR = np.concatenate(
(TRbaseline[: p.T], np.ones(p.S) * ss_vars["TR_ss"])
)
G = np.concatenate(
(Gbaseline[: p.T], np.ones(p.S) * ss_vars["Gss"])
)
else:
TR = p.alpha_T * Y
G = np.ones(p.T + p.S) * ss_vars["Gss"]
Expand Down

0 comments on commit 64d690c

Please sign in to comment.