File tree Expand file tree Collapse file tree
ql/termstructures/volatility/inflation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,18 +56,18 @@ namespace QuantLib {
5656 */
5757 // @{
5858 // ! Returns the volatility for a given maturity date and strike rate.
59- Volatility volatility (const Date& maturityDate,
59+ virtual Volatility volatility (const Date& maturityDate,
6060 Rate strike,
6161 const Period &obsLag = Period(-1 ,Days),
6262 bool extrapolate = false) const ;
6363 // ! returns the volatility for a given option tenor and strike rate
64- Volatility volatility (const Period& optionTenor,
64+ virtual Volatility volatility (const Period& optionTenor,
6565 Rate strike,
6666 const Period &obsLag = Period(-1 ,Days),
6767 bool extrapolate = false) const ;
6868 /* ! Returns the volatility for a given time and strike rate. No adjustments
6969 due to lags and interpolation are applied to the input time. */
70- Volatility volatility (Time time, Rate strike) const ;
70+ virtual Volatility volatility (Time time, Rate strike) const ;
7171
7272 // ! Returns the total integrated variance for a given exercise
7373 // ! date and strike rate.
You can’t perform that action at this time.
0 commit comments