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