summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyisda/curve.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyisda/curve.pyx b/pyisda/curve.pyx
index ab74fde..522e425 100644
--- a/pyisda/curve.pyx
+++ b/pyisda/curve.pyx
@@ -702,7 +702,7 @@ cdef class SpreadCurve(Curve):
return TDate_to_pydate(self.defaulted)
@classmethod
- def from_bytes(cls, object state, bint compressed=False):
+ def from_bytes(cls, object state, const bint compressed=False):
cdef:
SpreadCurve instance = SpreadCurve.__new__(SpreadCurve)
const unsigned char* cursor