/src/main/java/net/finmath/marketdata/products/Forward.java
} this.discountCurveName = discountCurveName;this.spread = spread;
this.spread = spread; this.discountCurveName = discountCurveName; }
private final String discountCurveName; public Forward(final double maturity, final double paymentOffset, final String forwardCurveName, final double spread, final String discountCurveName) { super(); this.maturity = maturity; this.paymentOffset = paymentOffset; this.forwardCurveName = forwardCurveName; <extra_id_0> @Override public double getValue(final double evaluationTime, final AnalyticModel model) { final ForwardCurve forwardCurve = model.getForwardCurve(forwardCurveName); final DiscountCurve discountCurve = model.getDiscountCurve(discountCurveName); DiscountCurve discountCurveForForward = null; if(forwardCurve == null && forwardCurveName != null && forwardCurveName.length() > 0) {