Re: [QuantLib-svn] SF.net SVN: quantlib: [12748] trunk/QuantLib/ql

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [QuantLib-svn] SF.net SVN: quantlib: [12748] trunk/QuantLib/ql

Luigi Ballabio
On Thu, 2007-09-20 at 06:17 -0700, [hidden email] wrote:

> Modified: trunk/QuantLib/ql/termstructure.hpp
> ===================================================================
> --- trunk/QuantLib/ql/termstructure.hpp 2007-09-20 13:13:26 UTC (rev 12747)
> +++ trunk/QuantLib/ql/termstructure.hpp 2007-09-20 13:17:58 UTC (rev 12748)
> @@ -164,6 +164,7 @@
>      }
>  
>      inline Time TermStructure::timeFromReference(const Date& d) const {
> +        // FLOATING_POINT_EXCEPTION
>          return dayCounter().yearFraction(referenceDate(),d);
>      }

The error seems to be in the day counter. Why flagging code that merely
calls it?

Luigi



--

I hate quotations.
-- Ralph Waldo Emerson



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev