|
From: Luigi B. <lui...@gm...> - 2005-07-28 13:16:36
|
On 07/28/2005 01:13:18 PM, Plamen Neykov wrote: > I'm using the PiecewiseFlatForward and accounted some strange > behaviour there > - I think it is just because the PiecewiseYieldCurve class had not > overwritten the DiscountFactor discountImpl(Time) const method and > therefore > the calculate() method of the LazyObject (resp. the > PiecewiseYieldCurve<C,I>::performCalculations() method) got never > called. >=20 > Am I seeing this correct or is there something other going wrong? It's correct. I never noticed this bug as it is only triggered when =20 extrapolation =3D true. I fixed it in CVS and added a test. Thanks, Luigi ---------------------------------------- There is no likelihood man can ever tap the power of the atom. -- Robert Millikan, Nobel Prize in Physics, 1923 |