Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
alfoa authored Oct 11, 2023
1 parent 127bc4f commit 3dfc4b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Amortization.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ def amortize(scheme, plan, startValue, componentLife):
pcts = MACRS.get(ys, None)
if pcts is None:
raise IOError('Provided MACRS "{}" is not allowed.'.format(ys))
print(pcts)
print(startValue)
print(alpha)
alpha[1:len(pcts)+1] = pcts * startValue
elif lscheme == 'custom':
alpha[1:len(plan)+1] = np.asarray(plan)/100. * startValue
Expand Down

0 comments on commit 3dfc4b8

Please sign in to comment.