On Fri, 2008-02-15 at 16:56 -0600, JURAJ HUSKA wrote:
> Why is there a warning "it is advised that derived classes take care
> of creating and initializing themselves an instance of the underlying"
> in DiscretizedOption class documentation?
That should probably be a note rather than a warning. If the options
initialize their underlying themselves (such as, e.g., the existing
DiscretizedSwaption classes--you can have a look at it) consistency is
ensured between option and underlying. If not, client code would have to
take steps to ensure it.
Luigi
--
Academic: a term of opprobrium applied to those that do their job well
by those who cannot.
-- Sir Ernest Gowers
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users