diff --git a/OREData/ored/marketdata/marketimpl.cpp b/OREData/ored/marketdata/marketimpl.cpp index aff87688d..d64fd2484 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;