/src/main/java/net/finmath/montecarlo/interestrate/models/covariance/LIBORVolatilityModelPiecewiseConstant.java
if( volatility.length == volatilityIndex) {
if ( volatility.length == 1 ) {
continue; } timeToMaturityIndexing.put(timeToMaturity,volatilityIndex++); } indexMap.put(simulationTime, timeToMaturityIndexing); } <extra_id_0> this.volatility = new RandomVariable[volatilityIndex]; Arrays.fill(this.volatility, volatility[0]); } else if(volatility.length == volatilityIndex) { this.volatility = volatility.clone(); }