summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2020-01-27 14:42:14 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2020-01-27 14:42:14 -0500
commite2b581e2ecae15b145039035a8b318f8437a520e (patch)
treecb33a3da4e6a30724a6b52976fe73dd88d1b53dc
parentef73816c0ba05cc8e8057bdfb0949ced9fd5fa46 (diff)
downloadpyisda-e2b581e2ecae15b145039035a8b318f8437a520e.tar.gz
const correct
-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