summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2017-09-22 12:25:27 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2017-09-22 12:25:27 -0400
commit64422762f32ea4882ad7c6861fdf02877abf65f6 (patch)
tree791099ec2cd6ba85663e02877994003bc239171b
parentff038af022cbc1c31d800753aeb22ba41445dfb6 (diff)
downloadpyisda-64422762f32ea4882ad7c6861fdf02877abf65f6.tar.gz
clear weights
-rw-r--r--pyisda/credit_index.pyx1
1 files changed, 1 insertions, 0 deletions
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)