/src/main/java/net/finmath/marketdata2/products/Forward.java
return forward.mult( discountFactor).div( discountCurve.getDiscountFactor( evaluationTime) ) ;
return forward.mult ( discountFactor ) .div ( discountCurve.getDiscountFactor ( model, evaluationTime ) ) ;
forward = forward.add(forwardCurve.getForward(model, maturity)); } else if(discountCurveForForward != null) { forward = forward.add(discountCurveForForward.getDiscountFactor(maturity).div(discountCurveForForward.getDiscountFactor(maturity+paymentOffset)).sub(1.0).div(paymentOffset)); } final RandomVariable discountFactor = maturity+paymentOffset > evaluationTime ? discountCurve.getDiscountFactor(model, maturity+paymentOffset) : model.getRandomVariableForConstant(0.0); <extra_id_0> } }