Skip to content

Commit

Permalink
remove unused condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Dec 16, 2020
1 parent a60e533 commit 7a900d9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ogusa/aggregates.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ def get_I(b_splus1, K_p1, K, p, method):
p.lambdas)).sum()) / (1 + p.g_n_ss))
aggI = ((1 + p.g_n_ss) * np.exp(p.g_y) * (K_p1 - part2) -
(1.0 - p.delta) * K)
if method == 'BI_SS':
delta = 0
omega_extended = np.append(p.omega_SS[1:], [0.0])
imm_extended = np.append(p.imm_rates[-1, 1:], [0.0])
part2 = (((b_splus1 *
np.transpose((omega_extended * imm_extended) *
p.lambdas)).sum()) / (1 + p.g_n_ss))
aggI = ((1 + p.g_n_ss) * np.exp(p.g_y) * (K_p1 - part2) -
(1.0 - delta) * K)
elif method == 'TPI':
omega_shift = np.append(p.omega[:p.T, 1:], np.zeros((p.T, 1)),
axis=1)
Expand Down

0 comments on commit 7a900d9

Please sign in to comment.