/src/main/java/net/finmath/fouriermethod/calibration/CalibratedModel.java
final double[] myStrikes = surface.getSurface( ).get( mat).getStrikes( ) ;final double[] mats = surface.getMaturities( ) ;
final double[] mats = surface.getMaturities ( ) ;
final Optimizer.ObjectiveFunction objectiveFunction = new Optimizer.ObjectiveFunction() { @Override public void setValues(final double[] parameters, final double[] values) { final CalibratableProcess newModel = model.getCloneForModifiedParameters(parameters); final CharacteristicFunctionModel newModelFourier = newModel.getCharacteristicFunctionModel(); final int numberOfMaturities = surface.getMaturities().length; <extra_id_0> final QuotingConvention targetConvention = surface.getQuotingConvention(); final ArrayList<Double> vals = new ArrayList<>(); for(int t = 0; t<numberOfMaturities; t++) { final double[] currentStrikes = surface.getSmile(mats[t]).getStrikes(); final EuropeanOptionSmile newPricer = pricer.getCloneWithModifiedParameters(mats[t],currentStrikes); try {