/src/main/java/net/finmath/marketdata/model/cds/CDS.java
if ( discountCurveInterpolation == null) {   throw new IllegalArgumentException( ( ( ( "No discount curve with name '" + ( discountCurveName) ) + "\' was found in the model:\n") + ( calibratedModelJPM.toString( ) ) ) ) ; }
[Delete]
final double conventionalSpread = valueFloatingLeg/ valueFixedLeg; return conventionalSpread; } public double getFeePayment(int periodIndex, AnalyticModel model) { final ForwardCurve forwardCurveInterpolation = model.getForwardCurve(forwardCurveName); if(forwardCurveInterpolation == null && forwardCurveName != null && forwardCurveName.length() > 0) { <extra_id_0> } final double periodLength = schedule.getPeriodLength(periodIndex); double couponPayment = fixedFee; if(forwardCurveInterpolation != null ) { couponPayment = floatingFeeSpread+forwardCurveInterpolation.getForward(model, schedule.getFixing(periodIndex)); }