From 64422762f32ea4882ad7c6861fdf02877abf65f6 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Fri, 22 Sep 2017 12:25:27 -0400 Subject: clear weights --- pyisda/credit_index.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/pyisda/credit_index.pyx b/pyisda/credit_index.pyx index db65b6f..1dbd93c 100644 --- a/pyisda/credit_index.pyx +++ b/pyisda/credit_index.pyx @@ -107,6 +107,7 @@ cdef class CurveList: self.curves.clear() self.tickers.clear() + self.weights.clear() sc = l[0] self.T.resize(sc._thisptr.get().fNumItems) -- cgit v1.2.3-70-g09d2