|
From: Luigi B. <lui...@gm...> - 2007-09-20 13:21:33
|
On Thu, 2007-09-20 at 06:17 -0700, fd...@us... 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
|