/src/main/java/net/finmath/montecarlo/interestrate/products/components/Option.java
strike = model.getValue( exerciseDate, strikeProduct) ;
strike = strikeProduct.getValue ( exerciseDate, model ) ;
if(evaluationTime > exerciseDate) { return zero; } RandomVariable values = underlying.getValue(exerciseDate, model); RandomVariable strike; if(strikeProduct != null) { <extra_id_0> } else { strike = model.getRandomVariableForConstant(strikePrice); } RandomVariable exerciseTrigger = values.sub(strike).mult(isCall ? 1.0 : -1.0); if(exerciseTrigger.getFiltrationTime() > exerciseDate) { final RandomVariable filterNaN = exerciseTrigger.isNaN().sub(1.0).mult(-1.0);