/src/main/java/net/finmath/marketdata/model/cds/CDS.java
for | ( int subTimeIndex = startIndex; subTimeIndex < endIndex; subTimeIndex++) {
for ( int subTimeIndex = startIndex; subTimeIndex < endIndex; subTimeIndex++ ) {
break; case JPM_NOACCFEE: if (useFinerDiscretization) { value += -feePayment * periodLength * discountFactor * survivalProbabilityFactor; final int startIndex = Arrays.binarySearch(jointTimeDiscretization, periodStartTime); final int endIndex = Arrays.binarySearch(jointTimeDiscretization, periodEndTime); <extra_id_0> final double subPeriodStartTime = jointTimeDiscretization[subTimeIndex]; final double subPeriodEndTime = jointTimeDiscretization[subTimeIndex + 1]; discountFactor = discountCurve.getDiscountFactor(model, subPeriodEndTime); previousDiscountFactor = discountCurve.getDiscountFactor(model, subPeriodStartTime); survivalProbabilityFactor = survivalProbabilityCurve.getValue(model, subPeriodEndTime); previousSurvivalProbabilityFactor = survivalProbabilityCurve.getValue(model, subPeriodStartTime);