Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Generalized-Hull-White-model-problems-tp12503p12504.html
On Sun, 2010-05-23 at 01:27 -0700, Alexander Lotter wrote:
Yes. The differences are meant to be.
> There is also no examples in the current trunk of the QuantLib, which
> contains your version of BermudanSwaptions or some code for the test-suite.
True, for some reason the example didn't make into the commit.
I remember it working, though.
> There is no a version of PiecewiseConstantParameter2 as you proposed to
> implement. So, without this change, I couldn't get the current trunk version
> to run without run-time error (vector subscript out of range). As I added
> this class, I got the current version to run, but calibration took me too
> long to wait.
The PiecewiseConstantParameter class was modified in revision 17224 to
take an optional constraint, so that's taken care of; the code in the
trunk instantiates it with a PositiveConstraint.
Anyway, I'll try to get the example working and get back.
Luigi
--
Don't let school get in the way of your education.
-- Mark Twain
------------------------------------------------------------------------------
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev