Hi all,
I compiled QuantLibXL from the subversion branch for 1.2 release (R01020x-branch) and I'm trying it. Most things work fine but I found one which does not. In the attached test case I try to generate a floating rate bond with qlFloatingRateBond. When I register with Excel the QuantLibXL addin released with version 1.1.0 (QuantLibXL-vc90-mt-s-1_1_0.xll), the function creates the object as expected. When instead I replace the released addin with the one I compiled, it fails with this error message (you might have to recreate the schedule and index objects in cells B2, B20 to see it): qlFloatingRateBond - Date's serial number (366) outside allowed range [367-109574], i.e. [January 1st, 1901-December 31st, 2199] Looks like it's reading a dates difference as if it was a single date, but anyway, I suppose it's either a regression in QuantLibXL code, or a compilation issue on my part. Could you please check whether it works for you, and in that case, help me find what went wrong? I compiled with Visual Studio 2005 (Visual C++ 8) and the unmodified QuantLibXL_full_vc8.sln from the subversion tree, selecting "Release (static runtime)" as stated in the instructions. Compilation apparently went all well, in the end I got this message: Build: 10 succeeded, 0 failed, 0 up-to-date, 0 skipped Thank you Gerardo <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head></head> <body> <div style="font-family:Calibri;font-size:10px"> Banca Profilo S.p.A. Corso Italia, 49 - 20122 Milano - Tel. 02 58408.1, Fax 02 5831 6057 Capitale Sociale Euro 136.794.106,00 i.v. Iscrizione al Registro Imprese di Milano, C.F. e P.IVA 09108700155 - [hidden email] Iscritta all’Albo delle Banche e dei Gruppi bancari Aderente al Fondo Interbancario di Tutela dei depositi Aderente al Conciliatore Bancario Finanziario e all’Arbitro Bancario Finanziario Appartenente al Gruppo bancario Banca Profilo e soggetta all’attività di direzione e coordinamento di Arepo BP S.p.A. DISCLAIMER: The information transmitted may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. </div> </body> </html> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users test-bond.xlsx (14K) Download Attachment |
Free forum by Nabble | Edit this page |