Skip to content

Commit

Permalink
Fix clang error: intialized before...
Browse files Browse the repository at this point in the history
  • Loading branch information
Cay Oest committed Jan 16, 2021
1 parent 84418bc commit 238eb6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ql/termstructures/yield/fittedbonddiscountcurve.cpp
Expand Up @@ -131,9 +131,9 @@ namespace QuantLib {
const Real minCutoffTime,
const Real maxCutoffTime)
: constrainAtZero_(constrainAtZero), weights_(weights), l2_(l2),
calculateWeights_(weights.empty()), optimizationMethod_(optimizationMethod),
minCutoffTime_(minCutoffTime), maxCutoffTime_(maxCutoffTime),
errorCode_(EndCriteria::None) {}
calculateWeights_(weights.empty()), errorCode_(EndCriteria::None),
optimizationMethod_(optimizationMethod),
minCutoffTime_(minCutoffTime), maxCutoffTime_(maxCutoffTime) {}

void FittedBondDiscountCurve::FittingMethod::init() {
// yield conventions
Expand Down

0 comments on commit 238eb6c

Please sign in to comment.