Skip to content

Commit

Permalink
fix break in std+03
Browse files Browse the repository at this point in the history
  • Loading branch information
joequant committed Sep 20, 2020
1 parent ea3b31a commit 5b1bac2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,9 @@ namespace QuantLib {
calculate();

return ext::make_tuple<Real, Real, Real>(
std::forward<Real>(minError_),
std::forward<Real>(maxError_),
std::forward<Real>(avgError_));
ext::forward<Real>(minError_),
ext::forward<Real>(maxError_),
ext::forward<Real>(avgError_));
}

Size AndreasenHugeVolatilityInterpl::getExerciseTimeIdx(Time t) const {
Expand Down Expand Up @@ -579,7 +579,7 @@ namespace QuantLib {
ext::shared_ptr<Array>,
ext::shared_ptr<Interpolation> >(
ext::forward<Real>(fwd),
ext::forward<ext::shared_ptr<Array>>(prices),
ext::forward<ext::shared_ptr<Array> >(prices),
ext::make_shared<CubicNaturalSpline>(
gridPoints_.begin()+1, gridPoints_.end()-1,
prices->begin()+1));
Expand Down Expand Up @@ -658,7 +658,7 @@ namespace QuantLib {
Real,
ext::shared_ptr<Array>,
ext::shared_ptr<Interpolation> >(
ext::forward<Real>(fwd), ext::forward<ext::shared_ptr<Array>>(localVol),
ext::forward<Real>(fwd), ext::forward<ext::shared_ptr<Array> >(localVol),
ext::make_shared<LinearInterpolation>(
gridPoints_.begin()+1, gridPoints_.end()-1,
localVol->begin()+1));
Expand Down

0 comments on commit 5b1bac2

Please sign in to comment.