diff --git a/ORE-SWIG/QuantLib-SWIG b/ORE-SWIG/QuantLib-SWIG index 9b1d648856..18203bf0af 160000 --- a/ORE-SWIG/QuantLib-SWIG +++ b/ORE-SWIG/QuantLib-SWIG @@ -1 +1 @@ -Subproject commit 9b1d6488567f1cc84ab55d4c08cfef7ea7d1550b +Subproject commit 18203bf0af4639a51a08c705e7b07bc864d2116b diff --git a/OREData/ored/marketdata/marketimpl.cpp b/OREData/ored/marketdata/marketimpl.cpp index aff87688d9..d64fd2484a 100644 --- a/OREData/ored/marketdata/marketimpl.cpp +++ b/OREData/ored/marketdata/marketimpl.cpp @@ -140,7 +140,7 @@ Handle MarketImpl::swaptionVol(const stri } // check if we have a curve for the ccy in the default config if (configuration != Market::defaultConfiguration) { - require(MarketObject::SwaptionVol, ccy, configuration); + require(MarketObject::SwaptionVol, ccy, Market::defaultConfiguration); auto it4 = swaptionCurves_.find(make_pair(Market::defaultConfiguration, ccy)); if (it4 != swaptionCurves_.end()) return it4->second;