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