diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2019-02-27 12:41:31 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2019-02-27 12:41:31 -0500 |
| commit | 1338b0cd4ff62586733e7c712d7524814b2255b7 (patch) | |
| tree | d82f769b1c509008187482168c5ecfce38c129dd | |
| parent | f0f20dc815510bf95f850b9a8733d2e09049f748 (diff) | |
| download | pyisda-1338b0cd4ff62586733e7c712d7524814b2255b7.tar.gz | |
bugfix
| -rw-r--r-- | pyisda/credit_index.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyisda/credit_index.pyx b/pyisda/credit_index.pyx index a7ddd79..d2dde30 100644 --- a/pyisda/credit_index.pyx +++ b/pyisda/credit_index.pyx @@ -88,7 +88,7 @@ cdef class CurveList: warnings.warn(f"skipped {n_skipped} empty curves") # we rescale the weights for i in range(self._weights.size()): - self._weights[i] *= total_weight + self._weights[i] /= total_weight def __getitem__(self, str ticker): cdef: |
