Skip to content

Commit ca30a33

Browse files
authored
Update SWHeart.py
1 parent e828706 commit ca30a33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

smith_wilson/SWHeart.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import numpy as np
2+
13
def SWHeart(u, v, alpha: float):
24
"""
35
Calculate the heart of the Wilson function.
@@ -17,9 +19,7 @@ def SWHeart(u, v, alpha: float):
1719
For more information, see:
1820
https://www.eiopa.europa.eu/sites/default/files/risk_free_interest_rate/12092019-technical_documentation.pdf
1921
"""
20-
21-
import numpy as np
22-
22+
2323
u_Mat = np.tile(u, [v.size, 1]).transpose()
2424
v_Mat = np.tile(v, [u.size, 1])
2525

0 commit comments

Comments
 (0)