From f45dd54fc9e9fc88e14f0a318ba6ed86e4311159 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Mon, 12 Jun 2023 11:19:53 -0400 Subject: add noexcept --- pyisda/credit_index.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyisda/credit_index.pyx b/pyisda/credit_index.pyx index 017f9fe..4401e21 100644 --- a/pyisda/credit_index.pyx +++ b/pyisda/credit_index.pyx @@ -822,7 +822,7 @@ cdef class CreditIndex(CurveList): return r cdef unsigned long fill_mask(const TDate maturity, const vector[TDate]& maturities, - const TCurve* sc) nogil: + const TCurve* sc) noexcept nogil: cdef: TDate prev_maturity = 0 TDate next_maturity = maturity -- cgit v1.2.3-70-g09d2