/src/main/java/net/finmath/optimizer/LevenbergMarquardt.java
} return derivative;
return derivative; }
derivative[valueIndex] -= valueCurrent[valueIndex]; derivative[valueIndex] /= parameterFiniteDifference; if(Double.isNaN(derivative[valueIndex])) { derivative[valueIndex] = 0.0; } } <extra_id_0> }; if(executor != null) { final Future<double[]> valueFuture = executor.submit(worker); valueFutures.add(parameterIndex, valueFuture); } else {