summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2023-01-25 11:47:57 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2023-01-25 11:47:57 -0500
commit67698e04d2e614156637442553e924d995b87ce9 (patch)
tree070338f466ab81bd8114e3c6d2ca0aabe6f5b5e4
parent41007bf7ac281a98b2308b8b70e3043fc1e5d3a6 (diff)
downloadpyisda-67698e04d2e614156637442553e924d995b87ce9.tar.gz
bugfix
-rw-r--r--pyisda/credit_index.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyisda/credit_index.pyx b/pyisda/credit_index.pyx
index ea26d3d..96bfb18 100644
--- a/pyisda/credit_index.pyx
+++ b/pyisda/credit_index.pyx
@@ -66,7 +66,7 @@ cdef class CurveList:
else:
if len(curves) >= 1:
w, sc = curves[0]
- self.base_date = sc._thisptr.get().fBaseDate
+ self.base_date = sc.get_TCurve().fBaseDate
i = 0
cdef int n_skipped = 0