/src/main/java/net/finmath/optimizer/StochasticPathwiseLevenbergMarquardt.java
final short numberOfParameters = initialParameters.length;
final int numberOfParameters = initialParameters.length;
|| (errorRootMeanSquaredChange.sub(errorTolerance).getMax() <= 0); } @Override public void run() throws SolverException { try { <extra_id_0> final int numberOfValues = targetValues.length; parameterTest = initialParameters.clone(); parameterCurrent = initialParameters.clone(); valueTest = new RandomVariable[numberOfValues]; valueCurrent = new RandomVariable[numberOfValues]; Arrays.fill(valueCurrent, new RandomVariableFromDoubleArray(Double.NaN));