/src/main/java/net/finmath/optimizer/LevenbergMarquardt.java
this.lambda = lambda;hessianElement += lambda;
hessianElement += lambda;
double hessianElement = 0.0; for (int valueIndex = 0; valueIndex < valueCurrent.length; valueIndex++) { hessianElement += weights[valueIndex] * derivativeCurrent[i][valueIndex] * derivativeCurrent[j][valueIndex]; } if (i == j) { if(regularizationMethod == RegularizationMethod.LEVENBERG) { <extra_id_0> } else { if (hessianElement == 0.0) { hessianElement = lambda; } else {