|
From: Sebastian P. <Seb...@gm...> - 2012-10-19 16:49:16
|
Hi,
I do not know if this is the right place to report small errors/typos in the
quantlib environment. Given that I don't know any other place I will post it
here this time.
In the QuantLibAddin\gensrc\metadata\functions\leg.xml the static function
QuantLib::CashFlows::startDate is called for qlLegStartDate and
qlLegMaturityDate. I suppose the latter is not the expected behaviour:
<!-- Leg Date functions -->
<Procedure name='qlLegStartDate'>
<description>Returns the start (i.e. first accrual) date for the given
Leg object.</description>
<alias>QuantLib::CashFlows::startDate</alias>
<<-------------------------------------------
<SupportedPlatforms>
<SupportedPlatform name='Excel'/>
<!--SupportedPlatform name='Cpp'/-->
</SupportedPlatforms>
<ParameterList>
<Parameters>
<Parameter name='ObjectId'>
<type>QuantLib::Leg</type>
<superType>underlyingClass</superType>
<tensorRank>scalar</tensorRank>
<description>id of existing QuantLib::Leg object</description>
</Parameter>
</Parameters>
</ParameterList>
<ReturnValue>
<type>QuantLib::Date</type>
<tensorRank>scalar</tensorRank>
</ReturnValue>
</Procedure>
<Procedure name='qlLegMaturityDate'>
<description>Returns the maturity (i.e. last payment) date for the
given Leg object.</description>
<alias>QuantLib::CashFlows::startDate</alias>
<<----------------------------------------------
<SupportedPlatforms>
<SupportedPlatform name='Excel'/>
<!--SupportedPlatform name='Cpp'/-->
</SupportedPlatforms>
<ParameterList>
<Parameters>
<Parameter name='ObjectId'>
<type>QuantLib::Leg</type>
<superType>underlyingClass</superType>
<tensorRank>scalar</tensorRank>
<description>id of existing QuantLib::Leg object</description>
</Parameter>
</Parameters>
</ParameterList>
<ReturnValue>
<type>QuantLib::Date</type>
<tensorRank>scalar</tensorRank>
</ReturnValue>
</Procedure>
Regards,
Sebastian
--
View this message in context: http://old.nabble.com/Small-error-in-QuantLibXL-%28leg.xml%29-tp34576796p34576796.html
Sent from the quantlib-dev mailing list archive at Nabble.com.
|