|
From: Luigi B. <lui...@gm...> - 2008-08-04 14:51:20
|
On Wed, 2008-07-16 at 09:44 +0200, =?ISO-8859-1?Q? Fr=E9d=E9ric_Degraeve _ wrote: > Also, I would like to understand where my mistake is. Now, I don't > find any solutions except making a c++ function that creates my > FittedBondDiscountCurve from simple parameters. I guess it is not a > clean solution. > > Firstly, I wrote a swig file to call FittedBondDiscountCurve from > Python. Secondly, I called it from a python script. Finally, this > prototype is not recognized. Try fully qualifying QuantLib::FittedBondDiscountCurve::FittingMethod in the constructor. If that fails, try exporting QuantLib::FittedBondDiscountCurve::FittingMethod trough SWIG. Luigi -- No, I'm not interested in developing a powerful brain. All I'm after is just a mediocre brain, something like the president of American Telephone and Telegraph Company. -- Alan Turing on the possibilities of a thinking machine, 1943. |