summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2017-02-23 17:52:31 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2017-02-23 17:52:31 -0500
commit2b681b447261bc48f5a1fb18ce46b01c44739858 (patch)
treea07da9197eb9307fb3beb53876460e4657dd9e4f
parent92d0e6a1cb1856137567782a9a73f2d0c38585c1 (diff)
downloadpyisda-2b681b447261bc48f5a1fb18ce46b01c44739858.tar.gz
typo
-rw-r--r--pyisda/curve.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyisda/curve.pyx b/pyisda/curve.pyx
index 48298d1..c426846 100644
--- a/pyisda/curve.pyx
+++ b/pyisda/curve.pyx
@@ -153,7 +153,7 @@ cdef class Curve(object):
raise ValueError('curve is empty')
cdef TDate start_date
if d1 is None:
- start_date = self._thipstr.get().fBaseDate
+ start_date = self._thisptr.get().fBaseDate
return JpmcdsForwardZeroPrice(self._thisptr.get(), start_date,
pydate_to_TDate(d2))
else: