Skip to content

Commit

Permalink
Merge pull request #1267.
Browse files Browse the repository at this point in the history
Update obsolete call to `PiecewiseYieldCurve` constructor
  • Loading branch information
lballabio committed Dec 19, 2021
2 parents 73e39d1 + d09f58a commit 37c98ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ql/models/marketmodels/historicalforwardratesanalysis.hpp
Expand Up @@ -125,14 +125,15 @@ namespace QuantLib {

// Bootstrap the yield curve at the currentDate
Natural settlementDays = 0;
typename PiecewiseYieldCurve<Traits, Interpolator>::bootstrap_type bootstrap(yieldCurveAccuracy);
PiecewiseYieldCurve<Traits, Interpolator> yc(settlementDays,
cal,
rateHelpers,
yieldCurveDayCounter,
std::vector<Handle<Quote> >(),
std::vector<Date>(),
yieldCurveAccuracy,
i);
i,
bootstrap);

// start with a valid business date
Date currentDate = cal.advance(startDate, 1*Days, Following);
Expand Down

0 comments on commit 37c98ec

Please sign in to comment.