endCriteria, methods[j]);
sabrInterpolation.update();
// Recover SABR calibration parameters
final boolean failed = false;
final double calibratedAlpha = sabrInterpolation.alpha();
final double calibratedBeta = sabrInterpolation.beta();
final double calibratedNu = sabrInterpolation.nu();
final double calibratedRho = sabrInterpolation.rho();
// TODO: remove these declarations. Added just to make it compile.