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