/src/main/java/net/finmath/marketdata2/calibration/Solver.java
modelParameters = parameterTransformation.getParameter ( parameters ) ; System.arraycopy ( parameterTransformation.getSolverParameter ( modelParameters ) , 0, parameters, 0, parameters.length ) ; }
final StochasticOptimizer.ObjectiveFunction objectiveFunction = new StochasticOptimizer.ObjectiveFunction() { @Override public void setValues(final RandomVariable[] parameters, final RandomVariable[] values) throws SolverException { RandomVariable[] modelParameters = parameters; try { if(parameterTransformation != null) { <extra_id_0> final Map<ParameterObject, RandomVariable[]> curvesParameterPairs = parameterAggregate.getObjectsToModifyForParameter(modelParameters); final AnalyticModel modelClone = model.getCloneForParameter(curvesParameterPairs); for(int i=0; i<calibrationProducts.size(); i++) { values[i] = calibrationProducts.get(i).getValue(evaluationTime, modelClone); } if(calibrationTargetValues != null) {