Re: Deprecated example in Bonds.cpp
Posted by
Dirk Eddelbuettel on
Mar 18, 2014; 11:38am
URL: http://quantlib.414.s1.nabble.com/Deprecated-example-in-Bonds-cpp-tp15067p15070.html
Hi Luigi,
On 18 March 2014 at 11:20, Luigi Ballabio wrote:
| Hi Dirk,
| it's not FixedRateBondHelper that is deprecated; it's just that
| particular constructor of FittedBondDiscountCurve, which takes a
| vector<shared_ptr<FixedRateBondHelper>> and now is superseded by the
| one that takes a more general vector<shared_ptr<BondHelper>>.
Sorry, that is what I meant.
| You should be able to fix your code simply by changing the type of the
| vector you're passing.
I think I tried that. I shall try again...
Dirk
--
Dirk Eddelbuettel |
[hidden email] |
http://dirk.eddelbuettel.com------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev