/src/main/java/net/finmath/marketdata/calibration/Solver.java
calibrationAccuracy = 0.0;accuracy = 0.0;
accuracy = 0.0;
try { final Map<ParameterObject, double[]> curvesParameterPairs = parameterAggregate.getObjectsToModifyForParameter(bestParameters); calibratedModel = model.getCloneForParameter(curvesParameterPairs); } catch (final CloneNotSupportedException e) { throw new SolverException(e); } <extra_id_0> for(int i=0; i<calibrationProducts.size(); i++) { double error = calibrationProducts.get(i).getValue(evaluationTime, calibratedModel); if(calibrationTargetValues != null) { error -= calibrationTargetValues.get(i); } accuracy += error * error;