Skip to content

Commit

Permalink
Use correct method to recalculate swap in OIS helper
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Dec 29, 2021
1 parent 9405bdc commit 11dd818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ql/termstructures/yield/oisratehelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ namespace QuantLib {
Real DatedOISRateHelper::impliedQuote() const {
QL_REQUIRE(termStructure_ != nullptr, "term structure not set");
// we didn't register as observers - force calculation
swap_->deepUpdate();
swap_->recalculate();
return swap_->fairRate();
}

Expand Down

0 comments on commit 11dd818

Please sign in to comment.