Skip to content

Commit

Permalink
fix method names
Browse files Browse the repository at this point in the history
  • Loading branch information
thrasibule committed Jul 31, 2024
1 parent ca58e7c commit b94c43e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_swap.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ def test_swap_from_market(self):
p = swap.net_present_value
print('NPV: %f' % p)

fixed_npv = swap.fixed_leg_npv
float_npv = swap.floating_leg_npv
fixed_npv = swap.fixed_leg_NPV
float_npv = swap.floating_leg_NPV

# verify calculation by discounting both legs
tot = 0.0
Expand Down

0 comments on commit b94c43e

Please sign in to comment.