To many different functions called "calculate" in the class hierachy. IMO it is 
in general not a good style to override a virtual method with different 
signatures. clang++ generates warnings like ".. hides overloaded virtual 
function". I Guess because base and engine in FDEngineAapter had defined

virtual void calculate(PricingEngine::results*) const;

or 

virtual void calculate() const;



On Tuesday, January 07, 2014 09:40:30 AM Luigi Ballabio wrote:

In QuantLib/ql/pricingengines/vanilla/fdbermudanengine.hpp:
> @@ -46,7 +46,7 @@
>                                        gridPoints, timeDependent) {}
>          void calculate() const {
>              this->setupArguments(&arguments_);
> -            FDMultiPeriodEngine<Scheme>::calculate(&results_);
> +            FDMultiPeriodEngine<Scheme>::doCalc(&results_);
What was the problem here? 
—
Reply to this email directly or view it on GitHub.