Skip to content

Commit

Permalink
Merge pull request #1275.
Browse files Browse the repository at this point in the history
Use correct method to recalculate swap in OIS helper
  • Loading branch information
lballabio committed Dec 30, 2021
2 parents 9405bdc + 11dd818 commit 5b9d73f
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 5b9d73f

Please sign in to comment.