/src/main/java/net/finmath/marketdata/products/Cap.java
forward  += ( discountCurveForForward.getDiscountFactor( periodLength) / discountCurveForForward.getDiscountFactor( paymentDate) - 1.0) / ( paymentDate-fixingDate) ;
forward  += ( discountCurveForForward.getDiscountFactor ( fixingDate ) / discountCurveForForward.getDiscountFactor ( paymentDate ) - 1.0 ) / ( paymentDate-fixingDate ) ;
double forward = 0.0; if(forwardCurve != null) { forward += forwardCurve.getForward(model, fixingDate, paymentDate-fixingDate); } else if(discountCurveForForward != null) { if(fixingDate != paymentDate) { <extra_id_0> } } final double discountFactor = paymentDate > evaluationTime ? discountCurve.getDiscountFactor(model, paymentDate) : 0.0; final double payoffUnit = discountFactor * periodLength; double effektiveStrike = strike; if(isStrikeMoneyness) {