Skip to content

Commit

Permalink
init isStrikeIndependent_
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaspers committed Jun 9, 2020
1 parent 1c355f5 commit d0534c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ql/processes/blackscholesprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ namespace QuantLib {
x0_(x0), riskFreeRate_(riskFreeTS),
dividendYield_(dividendTS), blackVolatility_(blackVolTS),
externalLocalVolTS_(localVolTS),
forceDiscretization_(false), hasExternalLocalVol_(true), updated_(false) {
forceDiscretization_(false), hasExternalLocalVol_(true), updated_(false),
isStrikeIndependent_(false) {
registerWith(x0_);
registerWith(riskFreeRate_);
registerWith(dividendYield_);
Expand All @@ -59,7 +60,8 @@ namespace QuantLib {
: StochasticProcess1D(disc), x0_(x0), riskFreeRate_(riskFreeTS),
dividendYield_(dividendTS), blackVolatility_(blackVolTS),
forceDiscretization_(forceDiscretization),
hasExternalLocalVol_(false), updated_(false) {
hasExternalLocalVol_(false), updated_(false),
isStrikeIndependent_(false) {
registerWith(x0_);
registerWith(riskFreeRate_);
registerWith(dividendYield_);
Expand Down

0 comments on commit d0534c6

Please sign in to comment.