From 768c6dd8e08ba0e2cb04fd5561270eac51835716 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Wed, 15 Feb 2017 14:42:05 -0500 Subject: cleanup docstring --- pyisda/curve.pyx | 5 ++--- 1 file 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 -- cgit v1.2.3-70-g09d2