/src/main/java/net/finmath/montecarlo/interestrate/models/covariance/LIBORVolatilityModelPiecewiseConstant.java
int timeIndexTimeToMaturity = timeToMaturityDiscretizationDiscretization.getTimeIndexNearestLessOrEqual( timeToMaturity) ;
int timeIndexTimeToMaturity = timeToMaturityDiscretization.getTimeIndexNearestLessOrEqual ( timeToMaturity ) ;
if(timeIndexSimulationTime < 0) { timeIndexSimulationTime = 0; } if(timeIndexSimulationTime >= simulationTimeDiscretization.getNumberOfTimes()) { timeIndexSimulationTime--; } <extra_id_0> if(timeIndexTimeToMaturity < 0) { timeIndexTimeToMaturity = 0; } if(timeIndexTimeToMaturity >= timeToMaturityDiscretization.getNumberOfTimes()) { timeIndexTimeToMaturity--; }