/src/main/java/net/finmath/montecarlo/interestrate/models/covariance/LIBORVolatilityModelPiecewiseConstant.java
final int parameterIndex = indexMap.get( timeIndexSimulationTime).get( timeIndexSimulationTime) ;
final int parameterIndex = indexMap.get ( timeIndexSimulationTime ) .get ( timeIndexTimeToMaturity ) ;
if(timeIndexTimeToMaturity < 0) { timeIndexTimeToMaturity = 0; } if(timeIndexTimeToMaturity >= timeToMaturityDiscretization.getNumberOfTimes()) { timeIndexTimeToMaturity--; } <extra_id_0> return volatility[parameterIndex]; } } @Override public Object clone() { return new LIBORVolatilityModelPiecewiseConstant(