qlYieldTSZeroRate on Cpp

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

qlYieldTSZeroRate on Cpp

Son, Dr. Jung-Bae (IDS GmbH)

Hello,
 
Has anyone tried to "unlock" qlYieldTSZeroRate for Cpp on QuantLib 1.1? I uncommented  <!--SupportedPlatform name='Cpp'/--> but receive compiling errors from gensrc:
 
2>>
2>> gensrc has encountered a fatal error.
2>>
2>> >>>>>>>>>> BEGIN STACK TRACE >>>>>>>>>>
2>>
2>>   File "c:\QuantLib-1_1\gensrc\gensrc.py", line 125, in <module>
2>>     addinList.generate()
2>>   File "c:\QuantLib-1_1\gensrc\gensrc\addins\addinlist.py", line 74, in generate
2>>     self.generateCode()
2>>   File "c:\QuantLib-1_1\gensrc\gensrc\addins\addinlist.py", line 83, in generateCode
2>>     addin.generate(self.categoryList_, self.enumerationList_)
2>>   File "c:\QuantLib-1_1\gensrc\gensrc\addins\cpp.py", line 55, in generate
2>>     self.generateFunctions()
2>>   File "c:\QuantLib-1_1\gensrc\gensrc\addins\cpp.py", line 71, in generateFunctions
2>>     bufferCpp += self.generateFunction(func)
2>>   File "c:\QuantLib-1_1\gensrc\gensrc\addins\cpp.py", line 92, in generateFunction
2>>     'functionBody' : func.generateBody(self),
2>>   File "c:\QuantLib-1_1\gensrc\gensrc\functions\member.py", line 43, in generateBody
2>>     return self.behavior_.generateBody(addin)
2>>   File "c:\QuantLib-1_1\gensrc\gensrc\functions\behaviorloop.py", line 50, in generateBody
2>>     'inputParam' : addin.loopName(self.loopParamRef_),
2>>   File "c:\QuantLib-1_1\gensrc\gensrc\addins\cpp.py", line 110, in loopName
2>>     if param.type() == common.STRING:
2>>
2>> <<<<<<<<<<  END STACK TRACE  <<<<<<<<<<
2>>
2>> gensrc error:
2>> 'Parameter' object has no attribute 'type'
2>>
2>> NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'
 
Cheers,
Jung-Bae
 
 
Dr. Jung-Bae Son
Market Data Development

InvestmentDataServices
Phone: +49 89 3800 19184
Fax: +49 89 3800 15150
E-mail: [hidden email]

Please visit our new website: 

www.InvestmentDataServices.com

Office:
Ludwigstraße 7
80539 Munich, Germany

Post address:
IDS GmbH - Analysis and Reporting Services
Königinstraße 28, 80802 Munich, Germany

Chairman of the Advisory Board: Dr. Claus Stickler
Managing Directors: Dr. Wolfgang Dietl, Dr. Bernd Fischer, Holger Haun, Werner Kieferle
Registered Office: Munich, Germany; Register: HRB 13 69 82; Local court: Munich; VAT-Id No: DE813776224
A company of Allianz

This message is intended only for the use of person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL.
If you are not an intended recipient, you may not read, copy or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments.
 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev