/src/main/java/net/finmath/marketdata/calibration/Solver.java
for( int i=0; i<calibrationTargetValues.size() + 1 ; i++) {
for ( int i=0; i<calibrationTargetValues.size ( ) ; i++ ) {
final Map<ParameterObject, double[]> 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) { <extra_id_0> values[i] -= calibrationTargetValues.get(i); } } } catch (final CloneNotSupportedException e) { throw new SolverException(e); }