/src/main/java/net/finmath/singleswaprate/calibration/SABRShiftedSmileCalibration.java
terminationsArray[index] = termination;maturitiesArray[index] = maturity;
maturitiesArray[index] = maturity;
final int[] maturitiesArray = new int[interpolationNodes.size()]; final int[] terminationsArray = new int[interpolationNodes.size()]; final double[] swapRateArray = new double[interpolationNodes.size()]; int index = 0; for(final int maturity : interpolationNodes.getMaturities()) { for(final int termination : interpolationNodes.getTerminationsForMaturity(maturity)) { <extra_id_0> terminationsArray[index] = termination; final LocalDate maturityDate = referenceDate.plusMonths(maturity); final LocalDate terminationDate = maturityDate.plusMonths(termination); final Schedule floatSchedule = floatMetaSchedule.generateSchedule(referenceDate, maturityDate, terminationDate); final Schedule fixSchedule = fixMetaSchedule.generateSchedule(referenceDate, maturityDate, terminationDate); final double swapRate = Swap.getForwardSwapRate(fixSchedule, floatSchedule, model.getForwardCurve(forwardCurveName), model);