Re: Adding a payoff function

Posted by Xavier.Abulker on
URL: http://quantlib.414.s1.nabble.com/Adding-a-payoff-function-tp2939p2954.html





Have you changed the quantlib.hpp file to include your payoff.hpp?
Xavier


                                                                                                                                 
                    Nicolas Magnette                                                                                            
                    <[hidden email]>       To:     [hidden email]                          
                    Sent by:                               cc:                                                                  
                    [hidden email]       Subject:     [Quantlib-users] Adding a payoff function                
                    eforge.net                                                                                                  
                                                                                                                                 
                                                                                                                                 
                    19/05/2004 10:19                                                                                            
                    Please respond to nmagnett                                                                                  
                                                                                                                                 
                                                                                                                                 




Hi,

I need to add a very special payoff function for an
exotic index option. I simply added it in
Instruments\payoff.hpp, but am unable to compile files
which use it. I always get a undefined reference to
vtable for Quantlib::Mypayoff. I tried to recompile
the whole library with my modified payoffs.hpp, but
this did not help. Does anyone have an idea how I
could make this work?

Thanks,

Nicolas Magnette


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Quantlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users





*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La FIMAT et ses filiales declinent toute responsabilite au titre de ce
message s'il a ete altere, deforme ou falsifie.
                                          ********
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither FIMATnor any of its subsidiaries or affiliates shall be liable for
the message if altered, changed or falsified.