Skip to content

Commit 50d3898

Browse files
committed
Minor changes
1 parent 3cecd14 commit 50d3898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyacm/acm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ def __init__(
168168
# TODO PAREI AQUI - Olhar em que situações pode-se usar os yield mensais.
169169
if self.curve.index.freqstr == 'M':
170170
X = self.pc_factors_m
171-
r1 = self.rf_m
171+
r1 = self.curve_monthly.iloc[:, 0]
172172
else:
173173
X = self.pc_factors_d
174-
r1 = self.rf_d
174+
r1 = self.curve.iloc[:, 0]
175175

176176
self.miy = self._affine_recursions(self.lambda0, self.lambda1, X, r1)
177177
self.rny = self._affine_recursions(0, 0, X, r1)

0 commit comments

Comments
 (0)