summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 45bcc54..ef04fec 100644
--- a/pyisda/credit_index.pyx
+++ b/pyisda/credit_index.pyx
@@ -297,7 +297,7 @@ cdef class CreditIndex(CurveList):
return h
#@cython.initializedcheck(False)
- def pv_vec(self, step_in_date, cash_settle_date, YieldCurve yc):
+ def pv_vec(self, step_in_date, cash_settle_date, YieldCurve yc not None):
cdef:
TDate step_in_date_c = pydate_to_TDate(step_in_date)
TDate cash_settle_date_c = pydate_to_TDate(cash_settle_date)