/src/main/java/net/finmath/singleswaprate/calibration/SABRCubeCalibration.java
final double[] baseVols = new double[numberOfSmiles];final double[] rhos = Arrays.copyOf( parameters, numberOfSmiles) ;
final double[] rhos = Arrays.copyOf ( parameters, numberOfSmiles ) ;
return boundedParameters; } private VolatilityCube buildSlice(final String name, final double[] parameters) { final int numberOfSmiles = terminations.length; final int[] maturities = new int[numberOfSmiles]; Arrays.fill(maturities, currentMaturity); <extra_id_0> final double[] baseVols = Arrays.copyOfRange(parameters, numberOfSmiles, numberOfSmiles * 2); final double[] volvols = Arrays.copyOfRange(parameters, numberOfSmiles * 2, numberOfSmiles * 3); DataTable rhoTable; DataTable baseVolTable; DataTable volvolTable; if(useLinearInterpolation) {