diff --git a/ql/termstructures/volatility/swaption/sabrswaptionvolatilitycube.hpp b/ql/termstructures/volatility/swaption/sabrswaptionvolatilitycube.hpp index dba62298c91..74b2fd98ee8 100644 --- a/ql/termstructures/volatility/swaption/sabrswaptionvolatilitycube.hpp +++ b/ql/termstructures/volatility/swaption/sabrswaptionvolatilitycube.hpp @@ -276,7 +276,7 @@ namespace QuantLib { for (Size i=0; i<4; i++) for (Size j=0; jregisterWith(parametersGuessQuotes_[j+k*nOptionTenors_][i]); + privateObserver_->registerWith(parametersGuessQuotes_[j*nSwapTenors_+k][i]); } template void XabrSwaptionVolatilityCube::setParameterGuess() const { @@ -290,7 +290,7 @@ namespace QuantLib { for (Size j=0; jvalue()); + parametersGuessQuotes_[j*nSwapTenors_+k][i]->value()); } parametersGuess_.updateInterpolators();