/src/main/java/net/finmath/optimizer/LevenbergMarquardt.java
this.setDerivatives ( parameterCurrent, derivativeCurrent ) ;
error += weights[valueIndex] * deviation * deviation; } return error/value.length; } private void updateParameterTest() throws SolverException { if (!isParameterCurrentDerivativeValid) { <extra_id_0> isParameterCurrentDerivativeValid = true; } boolean hessianInvalid = true; while (hessianInvalid && Double.isFinite(lambda)) { hessianInvalid = false; for (int i = 0; i < parameterCurrent.length; i++) {