/src/main/java/net/finmath/montecarlo/interestrate/models/covariance/TermStructureTenorTimeScalingPicewiseConstant.java
final int timeIntegratedEnd;
final double timeIntegratedEnd;
} else { final int timeStartIndexLo = -timeStartIndex-2; timeIntegratedStart = (timesIntegrated[timeStartIndexLo+1]-timesIntegrated[timeStartIndexLo])/timeDiscretization.getTimeStep(timeStartIndexLo)*(timeDiscretization.getTime(timeStartIndexLo+1)-periodStart); } } <extra_id_0> { final int timeEndIndex = timeDiscretization.getTimeIndex(periodEnd); if(timeEndIndex >= 0) { timeIntegratedEnd = timesIntegrated[timeEndIndex]; } else {