diff options
| -rw-r--r-- | pyisda/curve.pyx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyisda/curve.pyx b/pyisda/curve.pyx index e481c22..46dac79 100644 --- a/pyisda/curve.pyx +++ b/pyisda/curve.pyx @@ -378,7 +378,6 @@ cdef class SpreadCurve(Curve): def tweak_curve(self, double epsilon, bint multiplicative=True, bint[:] mask=None, inplace=True): """ - Tweak the survival curve in place. Parameters @@ -386,10 +385,10 @@ cdef class SpreadCurve(Curve): epsilon : double tweaking factor (either additive or multiplicative) multiplicative : bool, optional - do we scale by 1+epsilon or add epsilon (default multiplicative) + do we scale by 1+epsilon or add epsilon (default multiplicative). mask : array of bool or None If None (default), tweak everything, otherwise only tweak values - in the mask + in the mask. """ ## We want to tweak in the forward space, so we convert the hazard rates ## into forward rates and then back |
