|
From: Dirk E. <ed...@de...> - 2014-03-20 23:56:16
|
On 18 March 2014 at 06:38, Dirk Eddelbuettel wrote: | | 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... Gosh was that ever simple, but as usual I need three runs around the class hierarchy until I realized that FixedRateBond is what I wanted... Sent you a pull request updating the example. Dirk -- Dirk Eddelbuettel | ed...@de... | http://dirk.eddelbuettel.com |