Re: Excel viewer for vectors

Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/Excel-viewer-for-vectors-tp2696p2699.html

At 07:33 PM 10/2/03, amar singh wrote:
>On the top of my head , I remember there is an open defect in the
>termstructure::zerocoupon function for 0/0 division, but I don't know if
>it is related. I have used a temporary or dummy fix in my local copy .
>
>I wonder if  Nando/Ligui can give a temporary fix for the implemenation to
>apply to our local copy, that will be great.

Hi Amar,
         for the time being, something like adding

if (t == 0.0)
     t = QL_EPSILON;

as the first thing in the method should probably work. Of course we'll have
to think of something better for the real fix...

Later,
         Luigi