diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2023-04-28 14:08:14 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2023-04-28 14:08:14 -0400 |
| commit | cd9b80647200d27eca6548136348ab59f9c028a5 (patch) | |
| tree | 9b7d65cfbb620ece5bb57f5c677a008774535dd8 | |
| parent | 3cbd0d4a7b00463a440c39ab354e19fb0388c019 (diff) | |
| download | pyisda-cd9b80647200d27eca6548136348ab59f9c028a5.tar.gz | |
small clenaup
| -rw-r--r-- | pyisda/credit_index.pyx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyisda/credit_index.pyx b/pyisda/credit_index.pyx index 4730258..b545858 100644 --- a/pyisda/credit_index.pyx +++ b/pyisda/credit_index.pyx @@ -15,7 +15,7 @@ from .legs cimport (JpmcdsCdsContingentLegMake, JpmcdsCdsFeeLegMake, from .curve cimport (SpreadCurve, JpmcdsCopyCurve, tweak_curve, YieldCurve, JpmcdsFreeTCurve, survival_prob, Hash64WithSeed, Hash64, uint64_t, CurveName, - Seniority, DocClause, JpmcdsCdsParSpreads, name_offset_from_buf) + JpmcdsCdsParSpreads, name_offset_from_buf) from .date cimport (pydate_to_TDate, TDate_to_pydate, JpmcdsDtFwdAny, TDateInterval, JpmcdsMakeDateInterval) from .cdsone cimport JpmcdsStringToStubMethod, TStubMethod @@ -116,8 +116,8 @@ cdef class CurveList: char* buf = <char*>malloc(len(name[0]) + 3) char* tmp - buf[0] = <int>sen - buf[1] = <int>doc_clause + buf[0] = <char>sen + buf[1] = <char>doc_clause strcpy(&buf[2], <char*>ticker) cdef: |
