From b94c43eb162e45a38d972de3dd1602e50aa8acc5 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Thu, 12 Oct 2023 15:56:19 -0400 Subject: [PATCH] fix method names --- test/test_swap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_swap.py b/test/test_swap.py index 8c10b4dcf..c99fa616c 100644 --- a/test/test_swap.py +++ b/test/test_swap.py @@ -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