Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions OREData/ored/marketdata/yieldcurve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,10 @@ YieldCurve::YieldCurve(Date asof, YieldCurveSpec curveSpec, const CurveConfigura
buildBootstrappedCurve();
}

h_.linkTo(p_);
if (extrapolation_) {
h_->enableExtrapolation();
p_->enableExtrapolation();
}
h_.linkTo(p_);

// populate shared calibration info

Expand Down
1 change: 1 addition & 0 deletions OREData/ored/portfolio/fxdigitaloption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ void FxDigitalOption::build(const boost::shared_ptr<EngineFactory>& engineFactor
bool flipResults = false;
if (payoffCurrency_ == "") {
DLOG("PayoffCurrency defaulting to " << domesticCurrency_ << " for FxDigitalOption " << id());
payoffCurrency_ = domesticCurrency_;
} else if (payoffCurrency_ == foreignCurrency_) {
// Invert the trade, switch dom and for and flip Put/Call
strike = 1.0 / strike;
Expand Down